diff options
| author | s-ol <s+removethis@s-ol.nu> | 2022-01-13 17:29:38 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2022-01-13 17:29:38 +0000 |
| commit | 31159ddff5bc489ab6216a72304e1f7c7ce4a432 (patch) | |
| tree | e0c6efe46d4590c77ceabb4094c8ecd7c4289e00 /client/src/config.js | |
| parent | move everything into server/ (diff) | |
| parent | move everything into client/ (diff) | |
| download | fedidag-31159ddff5bc489ab6216a72304e1f7c7ce4a432.tar.gz fedidag-31159ddff5bc489ab6216a72304e1f7c7ce4a432.zip | |
Merge server and client repositories
Diffstat (limited to 'client/src/config.js')
| -rw-r--r-- | client/src/config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/config.js b/client/src/config.js new file mode 100644 index 0000000..91d6231 --- /dev/null +++ b/client/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`; |
