From 91987eb8134518838cba0731e828f0814a322551 Mon Sep 17 00:00:00 2001 From: gluzzati Date: Fri, 22 Mar 2024 16:49:03 +0000 Subject: [PATCH] pass env in pathPrefix --- frontend/next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/next.config.js b/frontend/next.config.js index 9a7ebb3..de76538 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -12,6 +12,7 @@ const withPWA = require("next-pwa")({ }, ], reloadOnOnline: false, + pathPrefix: '/pengvin-share', }); module.exports = withPWA({ @@ -21,5 +22,4 @@ module.exports = withPWA({ serverRuntimeConfig: { apiURL: process.env.API_URL ?? 'http://localhost:8080', }, - basePath: process.env.WEBROOT ?? '', });