feat: demo page switch

This commit is contained in:
Takeshi Kimata
2024-06-30 12:19:28 +09:00
parent 8f5cb534d9
commit d3d0e4fe15
7 changed files with 15 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
const Config = {
apiServer: process.env.NEXT_PUBLIC_BACKEND_ORIGIN || 'http://localhost:8001',
// set 'NEXT_PUBLIC_IS_DEMO=true' in frontend/.env
isDemoSite: process.env.NEXT_PUBLIC_IS_DEMO === 'true' || false,
};
export default Config;