{"action":"closed","issue":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1085","repository_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage","labels_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1085/comments","events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1085/events","html_url":"https://github.com/samselikoff/ember-cli-mirage/issues/1085","id":228488378,"number":1085,"title":"Bypass?","user":{"login":"dmitry-saritasa","id":1747653,"avatar_url":"https://avatars1.githubusercontent.com/u/1747653?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitry-saritasa","html_url":"https://github.com/dmitry-saritasa","followers_url":"https://api.github.com/users/dmitry-saritasa/followers","following_url":"https://api.github.com/users/dmitry-saritasa/following{/other_user}","gists_url":"https://api.github.com/users/dmitry-saritasa/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitry-saritasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitry-saritasa/subscriptions","organizations_url":"https://api.github.com/users/dmitry-saritasa/orgs","repos_url":"https://api.github.com/users/dmitry-saritasa/repos","events_url":"https://api.github.com/users/dmitry-saritasa/events{/privacy}","received_events_url":"https://api.github.com/users/dmitry-saritasa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-13T17:43:45Z","updated_at":"2017-06-06T14:40:37Z","closed_at":"2017-06-06T14:40:37Z","body":"Just installed ember-cli-mirage and without any configuration, immediately started to get errors in console\r\n\r\n```\r\nvendor.js:166793 Mirage: Your Ember app tried to POST 'https://app-development.app-host.com/api/v1/auth/login/',\r\n         but there was no route defined to handle this request.\r\n         Define a route that matches this path in your\r\n         mirage/config.js file. Did you forget to add your namespace?\r\n```\r\n\r\nMy config file\r\n```\r\nexport default function () {\r\n\r\n  // These comments are here to help you get started. Feel free to delete them.\r\n\r\n  /*\r\n    Config (with defaults).\r\n\r\n    Note: these only affect routes defined *after* them!\r\n  */\r\n\r\n  // this.urlPrefix = '';    // make this `http://localhost:8080`, for example, if your API is on a different server\r\n  // this.namespace = '';    // make this `/api`, for example, if your API is namespaced\r\n  // this.timing = 400;      // delay for each request, automatically set to 0 during testing\r\n\r\n  /*\r\n    Shorthand cheatsheet:\r\n\r\n    this.get('/posts');\r\n    this.post('/posts');\r\n    this.get('/posts/:id');\r\n    this.put('/posts/:id'); // or this.patch\r\n    this.del('/posts/:id');\r\n\r\n    http://www.ember-cli-mirage.com/docs/v0.3.x/shorthands/\r\n  */\r\n}\r\n\r\n```\r\n\r\nso how do I make sure that mirage is not interfering with real existing api requests?\r\n"}}
{"actor":{"display_login":"samselikoff"}}