diff --git a/andromeda-ui/next.config.js b/andromeda-ui/next.config.js index bf22da4..55a5ec9 100644 --- a/andromeda-ui/next.config.js +++ b/andromeda-ui/next.config.js @@ -2,7 +2,7 @@ const { PHASE_DEVELOPMENT_SERVER } = require("next/constants"); module.exports = (phase, { defaultConfig }) => { - let apiURL = "api"; + let apiURL = "/api"; if (phase === PHASE_DEVELOPMENT_SERVER) { apiURL = "http://127.0.0.1:5000/api"; }