2
0

fix(lp): 🐛 Landing page public env

This commit is contained in:
Baptiste Arnaud
2022-06-23 09:59:46 +02:00
parent 3392e04d38
commit 7df00efe46
4 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
# Don't edit this file
NEXT_PUBLIC_VIEWER_URL=

View File

@@ -2,7 +2,7 @@
"name": "landing-page",
"version": "1.0.0",
"scripts": {
"dev": "next dev -p 3002",
"dev": "ENVSH_ENV=.env.local bash ../../env.sh next dev -p 3002",
"start": "next start",
"build": "next build",
"analyze": "cross-env ANALYZE=true next build"

View File

@@ -25,6 +25,8 @@ class MyDocument extends Document {
data-domain="typebot.io"
src="https://plausible.baptistearno.com/js/plausible.js"
></script>
{/* eslint-disable-next-line @next/next/no-sync-scripts */}
<script src="/__env.js" />
</Head>
<body style={{ backgroundColor: '#171923' }}>
<ColorModeScript initialColorMode={theme.config.initialColorMode} />