@gingkoo/base-server 0.0.1-alpha.3 → 0.0.1-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="UTF-8" />
@@ -9,7 +9,7 @@
9
9
  <meta name="force-rendering" content="webkit" />
10
10
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
11
11
  <link rel="stylesheet" href="https://cdn.gingkoo.com/pandora/1.0.1/pandora.min.css" />
12
- <link rel="stylesheet" type="text/css" href="/static/css/index.css" />
12
+ <link rel="stylesheet" type="text/css" href="../../static/css/index.css" />
13
13
  </head>
14
14
 
15
15
  <body>
@@ -17,8 +17,8 @@ const getRedirectUrl = async (userAgent) => {
17
17
  let auth_redirect_url = '';
18
18
  let data = await configService.getFromConfig({ GROUP_ID: 'qywx' });
19
19
  let { qywx_AgentID, qywx_APPID, qywx_REDIRECT } = data;
20
- // qywx_REDIRECT = http://gingkoo.com
21
- let redirect_uri = `${qywx_REDIRECT}/teams/wechat/auth/oauth/qywx/callback`;
20
+ // qywx_REDIRECT = http://gingkoo.com/teams
21
+ let redirect_uri = `${qywx_REDIRECT}/wechat/auth/oauth/qywx/callback`;
22
22
 
23
23
  if (userAgent.indexOf('wxwork/') > -1) {
24
24
  params = {
@@ -21,7 +21,6 @@ function gConfig() {
21
21
  orgid: 'GINGKOO',
22
22
  allowedIPs: [], // 不校验登录的 ip
23
23
  testUser: '', // 测试用户
24
-
25
24
  ip: '0.0.0.0', // 服务 host
26
25
  port: 8081, // 服务端口号
27
26
  orgid: 'GINGKOO', // 组织 id