Skip to content

Scheduling infrastructure for absolutely everyone.

added BASE_URL in nextjs config (#587)

Syed Ali Shahbaz19f5b9d6c6f3
diff --git a/next.config.js b/next.config.js
index a41d034b945..9160d4c6261 100644
--- a/next.config.js
+++ b/next.config.js
@@ -58,4 +58,7 @@ module.exports = withTM({
},
];
},
+ publicRuntimeConfig: {
+ BASE_URL: process.env.BASE_URL || "http://localhost:3000",
+ },
});