From 5395edd40d3763d32b4749bdad942f6d0a7fd54a Mon Sep 17 00:00:00 2001 From: s-ol Date: Thu, 13 Jan 2022 19:23:29 +0100 Subject: move/update README --- client/README.md | 17 ----------------- client/src/config.js | 1 - 2 files changed, 18 deletions(-) delete mode 100644 client/README.md (limited to 'client') 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`; -- cgit v1.2.3