Commit e0c2e96a authored by tobinski's avatar tobinski
Browse files

Use internal service address

parent 7bba98df
import axios from 'axios'
class ApiQueryDispatcher {
private readonly endpoint = 'https://api.geolinker.histhub.ch/v2/sameas/';
private readonly endpoint = 'http://api-v2-nodejs:3000/v2/sameas/';
public query( apiQuery: string ) : Promise<any> {
const fullUrl = this.endpoint + encodeURIComponent( apiQuery ) + '?depth=2';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment