|
|
@@ -73,10 +73,10 @@ export const commonSearchUrl = (url: string): string => {
|
|
|
export const setServiceURL = (config: URL): void => {
|
|
|
// console.log('URL', config);
|
|
|
// 外网环境(175),外包同事使用
|
|
|
- // if (process.env.NODE_ENV === 'development') {
|
|
|
+ if (process.env.NODE_ENV === 'development') {
|
|
|
serviceURL.goCommonSearchUrl = 'http://218.17.158.45:21001/api';
|
|
|
serviceURL.quoteUrl = 'ws://218.17.158.45:21004';
|
|
|
serviceURL.tradeUrl = 'ws://218.17.158.45:21005';
|
|
|
- // }
|
|
|
- // serviceURL = config;
|
|
|
+ }
|
|
|
+ serviceURL = config;
|
|
|
};
|