diff options
| author | s-ol <s+removethis@s-ol.nu> | 2022-01-13 16:25:07 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2022-01-13 17:26:21 +0000 |
| commit | e065914a6fea70c25e117d8aaca466b59bcad5c6 (patch) | |
| tree | 9c003c80318427f4486691b84576233ad7742816 /src/config.js | |
| parent | use @container:@id in defualt graph (diff) | |
| download | fedidag-e065914a6fea70c25e117d8aaca466b59bcad5c6.tar.gz fedidag-e065914a6fea70c25e117d8aaca466b59bcad5c6.zip | |
Menu, DiscDAG loading
Diffstat (limited to 'src/config.js')
| -rw-r--r-- | src/config.js | 3 |
1 files changed, 3 insertions, 0 deletions
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`; |
