<commit_before>/*jshint esversion: 6 */
import config from "../config/environment";

export default function() {

  this.get('/desafios');
  this.get('/desafios/:id');

  this.get('/grupos');
  this.get('/grupos/:id');

  this.get('/capitulos');
  this.get('/capitulos/:id');

  this.get('/libros');
  this.get('/libros/:id');

	// Deshabilita los console log que emite mirage.
	this.logging = false;

  // this.urlPrefix = '';    // make this `http://localhost:8080`, for example, if your API is on a different server
  // this.namespace = '';    // make this `api`, for example, if your API is namespaced
  this.timing = 50;      // delay for each request, automatically set to 0 during testing

  this.passthrough('http://www.google-analytics.com/**');
  this.passthrough('https://api.github.com/**');
  this.passthrough(`${config.pbApi.baseURL}/**`);

  /*
    Shorthand cheatsheet:

    this.get('/posts');
    this.post('/posts');
    this.get('/posts/:id');
    this.put('/posts/:id'); // or this.patch
    this.del('/posts/:id');

    http://www.ember-cli-mirage.com/docs/v0.2.0-beta.7/shorthands/
  */
}<commit_msg>fix getUserIp<commit_after>/*jshint esversion: 6 */
import config from "../config/environment";

export default function() {

  this.get('/desafios');
  this.get('/desafios/:id');

  this.get('/grupos');
  this.get('/grupos/:id');

  this.get('/capitulos');
  this.get('/capitulos/:id');

  this.get('/libros');
  this.get('/libros/:id');

	// Deshabilita los console log que emite mirage.
	this.logging = false;

  // this.urlPrefix = '';    // make this `http://localhost:8080`, for example, if your API is on a different server
  // this.namespace = '';    // make this `api`, for example, if your API is namespaced
  this.timing = 50;      // delay for each request, automatically set to 0 during testing

  this.passthrough('http://www.google-analytics.com/**');
  this.passthrough('https://api.github.com/**');
  this.passthrough(`${config.pbApi.baseURL}/**`);
  this.passthrough('https://api64.ipify.org');

  /*
    Shorthand cheatsheet:

    this.get('/posts');
    this.post('/posts');
    this.get('/posts/:id');
    this.put('/posts/:id'); // or this.patch
    this.del('/posts/:id');

    http://www.ember-cli-mirage.com/docs/v0.2.0-beta.7/shorthands/
  */
}
{'fraction_non_alphanumeric': 0.20697167755991286, 'fraction_numerical': 0.011328976034858388, 'mean_word_length': 3.1444043321299637, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6564564', 'n_tokens_mistral': 812, 'n_tokens_neox': 795, 'n_words': 156}