From bff8c7716475aa5222aeb719f3ff4f0f1cb409a0 Mon Sep 17 00:00:00 2001 From: gluzzati Date: Thu, 21 Mar 2024 23:01:18 +0000 Subject: [PATCH] use other config --- backend/prisma/seed/config.seed.ts | 5 +++++ frontend/next.config.js | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/prisma/seed/config.seed.ts b/backend/prisma/seed/config.seed.ts index 8216329..a6f4f7a 100644 --- a/backend/prisma/seed/config.seed.ts +++ b/backend/prisma/seed/config.seed.ts @@ -20,6 +20,11 @@ const configVariables: ConfigVariables = { defaultValue: "http://localhost:3000", secret: false, }, + webroot: { + type: "string", + defaultValue: "", + secret: false, + }, showHomePage: { type: "boolean", defaultValue: "true", diff --git a/frontend/next.config.js b/frontend/next.config.js index e3202d8..808c0d5 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -20,6 +20,5 @@ module.exports = withPWA({ }, serverRuntimeConfig: { apiURL: process.env.API_URL ?? 'http://localhost:8080', - webroot: process.env.WEBROOT ?? '', }, });