Skip to content

Commit a31450a

Browse files
committed
plausible url is client var
1 parent ae34e70 commit a31450a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NODE_ENV as NODE_ENV_STRING, PLAUSIBLE_SCRIPT_URL, PREVIEW_MODE } from 'astro:env/server';
1+
import { NODE_ENV as NODE_ENV_STRING, PREVIEW_MODE } from 'astro:env/server';
22

33
import { configServerSchema } from '@/schemas/config';
44
import { CONFIG_CLIENT } from '@/config/client';
@@ -11,7 +11,7 @@ import type { ConfigServerType } from '@/types/config';
1111
const NODE_ENV = NODE_ENV_STRING as ConfigServerType['NODE_ENV'];
1212

1313
/** SSG - all env vars are build time only. */
14-
const configServerData: ConfigServerType = { NODE_ENV, PREVIEW_MODE, PLAUSIBLE_SCRIPT_URL };
14+
const configServerData: ConfigServerType = { NODE_ENV, PREVIEW_MODE };
1515

1616
export const CONFIG_SERVER = validateData(configServerData, configServerSchema);
1717

0 commit comments

Comments
 (0)