Commit 88d72878 authored by Aron Fiechter's avatar Aron Fiechter
Browse files

Set correct API for production

On the server, requests to /api will be mapped to port 8888, where the backend container is listening
parent 4109521b
......@@ -3,7 +3,7 @@ const ENV = {
};
const MIMIR_API = {
URL: ENV.IS_PRODUCTION ? 'http://mimir.si.usi.ch' : 'http://localhost:8888',
URL: ENV.IS_PRODUCTION ? 'http://mimir.si.usi.ch/api' : 'http://localhost:8888',
};
const UI = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment