make deployment easier (#225)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const Config = {
|
||||
apiServer: process.env.NEXT_PUBLIC_BACKEND_ORIGIN || 'http://localhost:8001',
|
||||
apiServer: process.env.NEXT_PUBLIC_BACKEND_ORIGIN || '/api',
|
||||
|
||||
// set 'NEXT_PUBLIC_IS_DEMO=true' in frontend/.env
|
||||
isDemoSite: process.env.NEXT_PUBLIC_IS_DEMO === 'true' || false,
|
||||
|
||||
Reference in New Issue
Block a user