From 22bd704ae68ee97486348225d820bf50aaf3fc18 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Sat, 9 Apr 2022 15:07:56 +0800 Subject: [PATCH] fix bug --- proxy.conf.js | 4 ++-- src/environments/environment.prod.ts | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/proxy.conf.js b/proxy.conf.js index 3c4dfa4d..b5693c54 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-18 09:51:21 * @LastEditors : Shiming - * @LastEditTime : 2022-04-08 14:26:28 + * @LastEditTime : 2022-04-09 15:06:45 * @FilePath : \\tms-obc-web\\proxy.conf.js * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -20,8 +20,8 @@ module.exports = { // } '//api': { target: { + host: 'tms-api-dev.eascs.com', // host: 'tms-api-dev.eascs.com', - host: 'tms-api.yunduoxing.com', protocol: 'https:', port: 443 }, diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 2a6fbc82..4dff7098 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,10 +1,20 @@ +/* + * @Description : + * @Version : 1.0 + * @Author : Shiming + * @Date : 2022-03-14 14:17:38 + * @LastEditors : Shiming + * @LastEditTime : 2022-04-09 15:07:38 + * @FilePath : \\tms-obc-web\\src\\environments\\environment.prod.ts + * Copyright (C) 2022 huzhenhong. All rights reserved. + */ import { Environment } from '@delon/theme'; export const environment = { production: true, useHash: true, api: { - baseUrl: 'https://tms-api-test.eascs.com', + baseUrl: 'https://tms-api.yunduoxing.com', refreshTokenEnabled: true, refreshTokenType: 'auth-refresh' }