ga-wdi-boston / ember-resources

Performing handling 'actions' in Ember, and using them to perform CRUD on the model.
Other
0 stars 112 forks source link

Use proxy flag for ember server when developing locally with an API #25

Open jrhorn424 opened 8 years ago

jrhorn424 commented 8 years ago
export default ApplicationAdapter.extend({
-  host: 'http://localhost:3000'
});

Instead: ember server --proxy http://localhost:3000

gaand commented 8 years ago

I think I prefer including the API endpoint in config/environment.js?

@jrhorn424 Thoughts? This should make deployment easier.