Explorar el Código

fix environment mismatch in alert bar

Olivier Massot hace 2 años
padre
commit
6f23eea6fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/Layout/AlertBar/Env.vue

+ 1 - 1
components/Layout/AlertBar/Env.vue

@@ -16,6 +16,6 @@ Barre d'alerte qui s'affiche lorsque l'utilisateur n'est pas dans un environneme
 <script setup lang="ts">
   const runtimeConfig = useRuntimeConfig()
 
-  const env = runtimeConfig.env ?? 'unknown'
+  const env = runtimeConfig.public.env ?? 'unknown'
   const show = env !== 'production'
 </script>