1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-30 11:15:36 +02:00

Update README.md

This commit is contained in:
Kyle Spearrin 2018-07-09 17:01:15 -04:00 committed by GitHub
parent 637120d0c5
commit 7459f1d1ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,21 @@ npm install
npm run build:watch
```
You can now access the web vault in your browser at `https://localhost:8080`.
You can now access the web vault in your browser at `https://localhost:8080`. You can adjust your API endpoint settings in `src/app/services/services.module.ts` by altering the `apiService.setUrls` call. For example:
```
await apiService.setUrls({
base: isDev ? null : window.location.origin,
api: isDev ? 'http://mylocalapi' : null,
identity: isDev ? 'http://mylocalidentity' : null,
});
```
If you want to run a production build of the web vault (pointed to the production API), run:
```
npm run build:prod:watch
```
# Contribute