Inverted flag values

This commit is contained in:
Linus Flood
2024-11-21 07:23:11 +01:00
parent ff8a1b836c
commit 367da173fb
7 changed files with 15 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ import { setLang } from "@/i18n/serverContext"
import type { LangParams, PageArgs } from "@/types/params"
export default function SitewideAlertPage({ params }: PageArgs<LangParams>) {
if (env.HIDE_SITE_WIDE_ALERT) {
if (!env.SHOW_SITE_WIDE_ALERT) {
return null
}