feat: use blue favicon for dev/preview mode

This commit is contained in:
Daniel Roe 2022-11-27 23:09:18 +00:00
parent 834eca2ad2
commit d0ec3676b8
No known key found for this signature in database
GPG key ID: 22D5008E4F5D9B55
3 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<script setup>
const sub = import.meta.env.DEV ? 'dev' : window.location.hostname.includes('deploy-preview') ? 'preview' : 'alpha'
const sub = process.dev ? 'dev' : window.location.hostname.includes('deploy-preview') ? 'preview' : 'alpha'
</script>
<template>