<commit_before>import { Injectable } from '@angular/core';
import {Http, Response} from '@angular/http';
import 'rxjs/add/operator/toPromise';

@Injectable()
export class RouteAdviceService {

  constructor(private http: Http) { }
  
  getRouteAdvice(start: any, end: any): Promise<any> {
    return this.http.get(`http://localhost:8080/routeAdvices/` + start + `/` + end).toPromise().then(response => response.json());
  }


}<commit_msg>use prod serer<commit_after>import { Injectable } from '@angular/core';
import {Http, Response} from '@angular/http';
import 'rxjs/add/operator/toPromise';

@Injectable()
export class RouteAdviceService {

  constructor(private http: Http) { }

  getRouteAdvice(start: any, end: any): Promise<any> {
    return this.http.get(`http://172.16.58.3:8080/routeAdvices/` + start + `/` + end).toPromise().then(response => response.json());
  }


}
{'fraction_non_alphanumeric': 0.17178612059158135, 'fraction_numerical': 0.01820250284414107, 'mean_word_length': 4.945945945945946, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3512982', 'n_tokens_mistral': 301, 'n_tokens_neox': 286, 'n_words': 58}