next config fixes in space app (#2084)

This commit is contained in:
sriram veeraghanta 2023-09-04 17:55:40 +05:30 committed by GitHub
parent 03f204a71c
commit 729eabdd3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ const nextConfig = {
if (parseInt(process.env.NEXT_PUBLIC_DEPLOY_WITH_NGINX || "0")) { if (parseInt(process.env.NEXT_PUBLIC_DEPLOY_WITH_NGINX || "0")) {
const nextConfigWithNginx = withImages({ basePath: "/spaces", ...nextConfig }); const nextConfigWithNginx = withImages({ basePath: "/spaces", ...nextConfig });
module.exports = nextConfigWithNginx;
} else { } else {
module.exports = nextConfig; module.exports = nextConfig;
} }