Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
dev0088 committed Aug 21, 2020
1 parent cad417d commit 059220a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# gull-vue

### Change config for backend address
<p> Please change url of backend API in `restApiSettings` variable in `/src/data/cofnig.js` file.
<p> Please add <strong>.env</strong> file and set <strong>VUE_APP_API_BASE_URL</strong>
</p>
For example:
```
VUE_APP_API_BASE_URL=http://localhost:8000/api/v1
```

## Project setup

Expand Down
2 changes: 1 addition & 1 deletion src/data/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export const firebaseSettings = {

// Config for REST API backend
export const restApiSettings = {
baseURL: `${process.env.VUE_APP_API_BASE_URL}`,
baseURL: `${process.env.VUE_APP_API_BASE_URL}` || "http://localhost:8000/api/v1",
};
1 change: 0 additions & 1 deletion src/views/app/dashboards/dashboard.domains.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
</b-form-group>
</b-form>
</b-modal>

</div>

<template slot="table-row" slot-scope="props">
Expand Down

0 comments on commit 059220a

Please sign in to comment.