mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 10:29:52 +00:00
temp workaround: remove use of get static prop
This commit is contained in:
@@ -212,11 +212,10 @@ const main = async () => {
|
||||
app.use("/api", healthCheck);
|
||||
|
||||
if (process.env.NODE_ENV == "production") {
|
||||
const dir = path.join(__dirname, "../frontend-build");
|
||||
process.chdir(dir);
|
||||
const nextJsBuildPath = path.join(__dirname, "../frontend-build");
|
||||
const nextApp = next({
|
||||
dev: false,
|
||||
dir
|
||||
dir: nextJsBuildPath
|
||||
});
|
||||
|
||||
const nextHandler = nextApp.getRequestHandler();
|
||||
|
||||
Reference in New Issue
Block a user