diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/README.md | 17 | ||||
| -rw-r--r-- | client/src/config.js | 1 |
2 files changed, 0 insertions, 18 deletions
diff --git a/client/README.md b/client/README.md deleted file mode 100644 index 54d8839..0000000 --- a/client/README.md +++ /dev/null @@ -1,17 +0,0 @@ -fedidag/client -============== - -Fedidag is a wip DAG-based discussion platform and client for the Fediverse. -This repository contains the front-end and a sample data. - -# Running locally (development) -To load Mastodon threads, a CORS proxy is needed. You can run it like this: - - $ yarn cors - -Then the dev server can be started: - - $ yarn start - -# Running using docker -The `Dockerfile` sets up NGINX with its own CORS proxy at `/remote/...`. diff --git a/client/src/config.js b/client/src/config.js index 91d6231..1da891d 100644 --- a/client/src/config.js +++ b/client/src/config.js @@ -1,3 +1,2 @@ -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`; |
