diff --git a/README.md b/README.md index 555299d7..a4cafcaa 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ -### My empty react project template +This is [vault48.org](https://vault48.org) frontend. -Includes: -* react -* react-redux -* react-router -* connected-react-router -* redux-saga -* redux-persist -* less, sass (modular) -* reduxsauce -* typescript +### Installation +1. Clone this repo `git clone git@github.com:muerwre/vault-frontend.git` +2. Run `yarn install` +3. Copy `.env_example` to `.env` +4. Set it up. You can use https://staging.vault48.org as playground + +### Starting +`yarn start` + +### Building +1. Run `yarn build` +2. Copy `./dist/*` somewhere diff --git a/src/constants/api.ts b/src/constants/api.ts index b89a13a6..1d0f0270 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -11,7 +11,6 @@ export const API = { MESSAGE_SEND: (username: string) => `/user/${username}/messages`, GET_UPDATES: '/user/updates', REQUEST_CODE: (code?: string) => `/user/restore/${code || ''}`, - UPLOAD: (target, type) => `/upload/${target}/${type}`, }, NODE: {