make deployment easier (#225)

This commit is contained in:
Jozef Dochan
2025-05-22 15:08:13 +02:00
committed by GitHub
parent d2934e8da4
commit 575c4cbedb
13 changed files with 318 additions and 261 deletions

View File

@@ -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,