Skip to content

Commit

Permalink
ref: Use 'api' as query param instead of 'apiendpoint', update local …
Browse files Browse the repository at this point in the history
…readme to use port 3000 for wsgen
  • Loading branch information
dhruvjain99 committed Nov 10, 2020
1 parent 6de3285 commit 17ae6d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/events/view/overview/event-apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import ENV from 'open-event-frontend/config/environment';
export default class EventApps extends Component {
@computed('eventId')
get webAppGeneratorUrl() {
return `${ENV.webAppGenerator}/?email=${this.authManager.currentUser.email}&apiendpoint=${ENV.APP.apiHost}/${ENV.APP.apiNamespace}/events/${this.eventId}`;
return `${ENV.webAppGenerator}/?email=${this.authManager.currentUser.email}&api=${ENV.APP.apiHost}/${ENV.APP.apiNamespace}/events/${this.eventId}`;
}
}
2 changes: 1 addition & 1 deletion docs/installation/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ brew link --force gettext

- By default, the `.env.example` file specifies the `API_HOST` as `https://open-event-api-dev.herokuapp.com` which is a test deployment of the open-event-server. If you intend to work on just the frontend, this is sufficient. **If however, you intend to work on issues which involve both the frontend and the backend, you must have the [open-event-server](https://github.com/fossasia/open-event-server) already up and running. Please install and set it up first before changing the URL for `API_HOST` to `http://localhost:5000` and proceeding to run the frontend.**

- By default, the `environment.js` file specifies the `webAppGenerator` as `https://open-event-wsgen-dev.herokuapp.com` which is a test deployment of the open-event-wsgen. If you intend to work on just the frontend, this is sufficient. **If however, you intend to work on issues which involve both the frontend and the website generator, you must have the [open-event-wsgen](https://github.com/fossasia/open-event-wsgen) already up and running. Please install and set it up first before creating a constant URL for `WEB_APP_GENERATOR_HOST` to `http://localhost:5000` in .env and proceeding to run the frontend.**
- By default, the `environment.js` file specifies the `webAppGenerator` as `https://open-event-wsgen-dev.herokuapp.com` which is a test deployment of the open-event-wsgen. If you intend to work on just the frontend, this is sufficient. **If however, you intend to work on issues which involve both the frontend and the website generator, you must have the [open-event-wsgen](https://github.com/fossasia/open-event-wsgen) already up and running. Please install and set it up first before creating a constant URL for `WEB_APP_GENERATOR_HOST` to `http://localhost:3000` in .env and proceeding to run the frontend.**

## Running / Development

Expand Down

0 comments on commit 17ae6d1

Please sign in to comment.