docs: 📝 Update env var and write Configuration doc
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
NOTION_API_TOKEN=
|
||||
NOTION_DATABASE_ID=
|
||||
NEXT_PUBLIC_VIEWER_HOST=http://localhost:3001
|
||||
NEXT_PUBLIC_VIEWER_URL=http://localhost:3001
|
||||
LANDING_PAGE_HOST=http://localhost:3002
|
||||
@@ -35,7 +35,7 @@ module.exports = withBundleAnalyzer({
|
||||
{
|
||||
source: '/_next/static/:static*',
|
||||
destination:
|
||||
process.env.NEXT_PUBLIC_VIEWER_HOST + '/_next/static/:static*',
|
||||
process.env.NEXT_PUBLIC_VIEWER_URL + '/_next/static/:static*',
|
||||
has: [
|
||||
{
|
||||
type: 'header',
|
||||
@@ -52,11 +52,11 @@ module.exports = withBundleAnalyzer({
|
||||
fallback: [
|
||||
{
|
||||
source: '/:typebotId*',
|
||||
destination: process.env.NEXT_PUBLIC_VIEWER_HOST + '/:typebotId*',
|
||||
destination: process.env.NEXT_PUBLIC_VIEWER_URL + '/:typebotId*',
|
||||
},
|
||||
{
|
||||
source: '/api/:path*',
|
||||
destination: process.env.NEXT_PUBLIC_VIEWER_HOST + '/api/:path*',
|
||||
destination: process.env.NEXT_PUBLIC_VIEWER_URL + '/api/:path*',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user