use / as development context path and use ui-bundler instead of react-scripts

This commit is contained in:
Sebastian Sdorra
2018-08-24 08:35:50 +02:00
parent ee8efe9cf5
commit 8224327ed3
22 changed files with 2708 additions and 3550 deletions

View File

@@ -1,7 +1,7 @@
// @flow
// get api base url from environment
const apiUrl = process.env.API_URL || process.env.PUBLIC_URL || "/scm";
const apiUrl = process.env.API_URL || process.env.PUBLIC_URL || "";
export const NOT_FOUND_ERROR = Error("not found");
export const UNAUTHORIZED_ERROR = Error("unauthorized");