From e065914a6fea70c25e117d8aaca466b59bcad5c6 Mon Sep 17 00:00:00 2001 From: s-ol Date: Thu, 13 Jan 2022 17:25:07 +0100 Subject: Menu, DiscDAG loading --- src/config.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/config.js (limited to 'src/config.js') diff --git a/src/config.js b/src/config.js new file mode 100644 index 0000000..91d6231 --- /dev/null +++ b/src/config.js @@ -0,0 +1,3 @@ +export const PUBLIC_URL = process.env.PUBLIC_URL || `${location.origin}`; +export const API_PREFIX = process.env.API_PREFIX || `${location.origin}`; +export const CORS_PREFIX = process.env.CORS_PREFIX || `${API_PREFIX}/remote`; -- cgit v1.2.3