next config fixes in space app (#2084)
This commit is contained in:
parent
03f204a71c
commit
729eabdd3f
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue