Use hostname to determine environment.

This commit is contained in:
Robin Huang
2025-08-11 20:30:56 -07:00
committed by Jennifer Weber
parent 164d7aac4d
commit 2de65d7e17
4 changed files with 28 additions and 6 deletions

View File

@@ -15,9 +15,9 @@
<script setup lang="ts">
import Tag from 'primevue/tag'
// Global variable from vite build defined in global.d.ts
// eslint-disable-next-line no-undef
const isStaging = !__USE_PROD_CONFIG__
import { isProductionEnvironment } from '@/config/environment'
const isStaging = !isProductionEnvironment()
</script>
<style scoped>