Fix URL for routes

This commit is contained in:
Thomas E Lackey 2020-10-07 12:12:32 -05:00
parent 55c052c08d
commit c81926bd8a

View File

@ -8,6 +8,7 @@ import { createHttpLink } from 'apollo-link-http';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { createResolvers } from './resolvers';
import { getServiceUrl } from './util/config';
const defaultServer = `${window.location.origin}`;
@ -39,7 +40,7 @@ export const clientFactory = config => {
const serviceLinks = {
signal: createHttpLink({
uri: config.services.signal.api
uri: getServiceUrl(config, 'signal.api')
})
};