fix: selfhosted fixes (#2154)
* fix: selfhosted fixes * fix: updated env example
This commit is contained in:
parent
2186db8bba
commit
cdb888c23e
8 changed files with 16 additions and 9 deletions
|
|
@ -12,7 +12,10 @@ const nextConfig = {
|
|||
};
|
||||
|
||||
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 {
|
||||
module.exports = nextConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue