1
0
Fork 0

pass env in pathPrefix

This commit is contained in:
gluzzati 2024-03-22 16:49:03 +00:00
parent 1335b3f6bc
commit 91987eb813
1 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,7 @@ const withPWA = require("next-pwa")({
}, },
], ],
reloadOnOnline: false, reloadOnOnline: false,
pathPrefix: '/pengvin-share',
}); });
module.exports = withPWA({ module.exports = withPWA({
@ -21,5 +22,4 @@ module.exports = withPWA({
serverRuntimeConfig: { serverRuntimeConfig: {
apiURL: process.env.API_URL ?? 'http://localhost:8080', apiURL: process.env.API_URL ?? 'http://localhost:8080',
}, },
basePath: process.env.WEBROOT ?? '',
}); });