Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export default DS.RESTAdapter.extend({
- namespace: 'api',
- host: window.ENV.host
- });
- window.ENV.host = 'http://localhost:8000'
- var cors = require('cors');
- app.use(cors());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement