Remove stale dev code
This was used to get around direct requests to clients. The UI will now automatically route through the server.
This commit is contained in:
parent
af15dda45a
commit
4d9859103f
|
@ -9,12 +9,6 @@ export default ApplicationSerializer.extend({
|
|||
},
|
||||
|
||||
normalize(modelClass, hash) {
|
||||
// Proxy local agent to the same proxy express server Ember is using
|
||||
// to avoid CORS
|
||||
if (this.get('config.isDev') && hash.HTTPAddr === '127.0.0.1:4646') {
|
||||
hash.HTTPAddr = '127.0.0.1:4200';
|
||||
}
|
||||
|
||||
return this._super(modelClass, hash);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue