Authored by 邱骏

修改跨域origin

@@ -53,7 +53,7 @@ try { @@ -53,7 +53,7 @@ try {
53 // 允许跨域 53 // 允许跨域
54 app.use(cors({ 54 app.use(cors({
55 credentials: true, 55 credentials: true,
56 - origin: 'http://localhost:8080' 56 + origin: 'http://localhost:63342'
57 })); 57 }));
58 58
59 // 用户信息 59 // 用户信息
@@ -1261,12 +1261,6 @@ cli-width@^2.0.0: @@ -1261,12 +1261,6 @@ cli-width@^2.0.0:
1261 version "2.1.0" 1261 version "2.1.0"
1262 resolved "http://npm.yoho.cn/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a" 1262 resolved "http://npm.yoho.cn/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a"
1263 1263
1264 -client-sessions@^0.8.0:  
1265 - version "0.8.0"  
1266 - resolved "http://npm.yoho.cn/client-sessions/-/client-sessions-0.8.0.tgz#a7d8c5558ad5d56f2a199f3533eb654b5df893fd"  
1267 - dependencies:  
1268 - cookies "^0.7.0"  
1269 -  
1270 cliui@^2.1.0: 1264 cliui@^2.1.0:
1271 version "2.1.0" 1265 version "2.1.0"
1272 resolved "http://npm.yoho.cn/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 1266 resolved "http://npm.yoho.cn/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1"
@@ -1582,7 +1576,7 @@ cookie@0.3.1: @@ -1582,7 +1576,7 @@ cookie@0.3.1:
1582 version "0.3.1" 1576 version "0.3.1"
1583 resolved "http://npm.yoho.cn/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" 1577 resolved "http://npm.yoho.cn/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
1584 1578
1585 -cookies@0.7.0, cookies@^0.7.0: 1579 +cookies@0.7.0:
1586 version "0.7.0" 1580 version "0.7.0"
1587 resolved "http://npm.yoho.cn/cookies/-/cookies-0.7.0.tgz#0bc961d910c35254980fc7c9eff5da12011bbf00" 1581 resolved "http://npm.yoho.cn/cookies/-/cookies-0.7.0.tgz#0bc961d910c35254980fc7c9eff5da12011bbf00"
1588 dependencies: 1582 dependencies:
@@ -1631,10 +1625,6 @@ crc32@0.2.2: @@ -1631,10 +1625,6 @@ crc32@0.2.2:
1631 version "0.2.2" 1625 version "0.2.2"
1632 resolved "http://npm.yoho.cn/crc32/-/crc32-0.2.2.tgz#7ad220d6ffdcd119f9fc127a7772cacea390a4ba" 1626 resolved "http://npm.yoho.cn/crc32/-/crc32-0.2.2.tgz#7ad220d6ffdcd119f9fc127a7772cacea390a4ba"
1633 1627
1634 -crc@3.4.0:  
1635 - version "3.4.0"  
1636 - resolved "http://npm.yoho.cn/crc/-/crc-3.4.0.tgz#4258e351613a74ef1153dfcb05e820c3e9715d7f"  
1637 -  
1638 create-ecdh@^4.0.0: 1628 create-ecdh@^4.0.0:
1639 version "4.0.0" 1629 version "4.0.0"
1640 resolved "http://npm.yoho.cn/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" 1630 resolved "http://npm.yoho.cn/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d"
@@ -1928,13 +1918,13 @@ debug@0.7.4, debug@~0.7.4: @@ -1928,13 +1918,13 @@ debug@0.7.4, debug@~0.7.4:
1928 version "0.7.4" 1918 version "0.7.4"
1929 resolved "http://npm.yoho.cn/debug/-/debug-0.7.4.tgz#06e1ea8082c2cb14e39806e22e2f6f757f92af39" 1919 resolved "http://npm.yoho.cn/debug/-/debug-0.7.4.tgz#06e1ea8082c2cb14e39806e22e2f6f757f92af39"
1930 1920
1931 -debug@2, debug@2.6.8, debug@^2.6.8: 1921 +debug@2, debug@2.6.8, debug@^2.1.1, debug@^2.2.0, debug@^2.6.0, debug@^2.6.8:
1932 version "2.6.8" 1922 version "2.6.8"
1933 resolved "http://npm.yoho.cn/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" 1923 resolved "http://npm.yoho.cn/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
1934 dependencies: 1924 dependencies:
1935 ms "2.0.0" 1925 ms "2.0.0"
1936 1926
1937 -debug@2.6.7, debug@^2.1.1, debug@^2.2.0, debug@^2.6.0: 1927 +debug@2.6.7:
1938 version "2.6.7" 1928 version "2.6.7"
1939 resolved "http://npm.yoho.cn/debug/-/debug-2.6.7.tgz#92bad1f6d05bbb6bba22cca88bcd0ec894c2861e" 1929 resolved "http://npm.yoho.cn/debug/-/debug-2.6.7.tgz#92bad1f6d05bbb6bba22cca88bcd0ec894c2861e"
1940 dependencies: 1930 dependencies:
@@ -6267,10 +6257,6 @@ ramda@^0.24.1: @@ -6267,10 +6257,6 @@ ramda@^0.24.1:
6267 version "0.24.1" 6257 version "0.24.1"
6268 resolved "http://npm.yoho.cn/ramda/-/ramda-0.24.1.tgz#c3b7755197f35b8dc3502228262c4c91ddb6b857" 6258 resolved "http://npm.yoho.cn/ramda/-/ramda-0.24.1.tgz#c3b7755197f35b8dc3502228262c4c91ddb6b857"
6269 6259
6270 -random-bytes@~1.0.0:  
6271 - version "1.0.0"  
6272 - resolved "http://npm.yoho.cn/random-bytes/-/random-bytes-1.0.0.tgz#4f68a1dc0ae58bd3fb95848c30324db75d64360b"  
6273 -  
6274 randomatic@^1.1.3: 6260 randomatic@^1.1.3:
6275 version "1.1.7" 6261 version "1.1.7"
6276 resolved "http://npm.yoho.cn/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" 6262 resolved "http://npm.yoho.cn/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c"
@@ -6786,11 +6772,11 @@ rx-lite@^3.1.2: @@ -6786,11 +6772,11 @@ rx-lite@^3.1.2:
6786 version "3.1.2" 6772 version "3.1.2"
6787 resolved "http://npm.yoho.cn/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" 6773 resolved "http://npm.yoho.cn/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102"
6788 6774
6789 -safe-buffer@5.0.1, safe-buffer@~5.0.1: 6775 +safe-buffer@5.0.1, safe-buffer@^5.0.1, safe-buffer@~5.0.1:
6790 version "5.0.1" 6776 version "5.0.1"
6791 resolved "http://npm.yoho.cn/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" 6777 resolved "http://npm.yoho.cn/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7"
6792 6778
6793 -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@~5.1.0: 6779 +safe-buffer@^5.1.0, safe-buffer@~5.1.0:
6794 version "5.1.1" 6780 version "5.1.1"
6795 resolved "http://npm.yoho.cn/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 6781 resolved "http://npm.yoho.cn/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
6796 6782
@@ -7687,12 +7673,6 @@ uid-number@0.0.6, uid-number@^0.0.6: @@ -7687,12 +7673,6 @@ uid-number@0.0.6, uid-number@^0.0.6:
7687 version "0.0.6" 7673 version "0.0.6"
7688 resolved "http://npm.yoho.cn/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 7674 resolved "http://npm.yoho.cn/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81"
7689 7675
7690 -uid-safe@~2.1.2:  
7691 - version "2.1.4"  
7692 - resolved "http://npm.yoho.cn/uid-safe/-/uid-safe-2.1.4.tgz#3ad6f38368c6d4c8c75ec17623fb79aa1d071d81"  
7693 - dependencies:  
7694 - random-bytes "~1.0.0"  
7695 -  
7696 uid2@0.0.x: 7676 uid2@0.0.x:
7697 version "0.0.3" 7677 version "0.0.3"
7698 resolved "http://npm.yoho.cn/uid2/-/uid2-0.0.3.tgz#483126e11774df2f71b8b639dcd799c376162b82" 7678 resolved "http://npm.yoho.cn/uid2/-/uid2-0.0.3.tgz#483126e11774df2f71b8b639dcd799c376162b82"
@@ -8351,20 +8331,6 @@ yoho-cookie@^1.2.0: @@ -8351,20 +8331,6 @@ yoho-cookie@^1.2.0:
8351 version "1.2.0" 8331 version "1.2.0"
8352 resolved "http://npm.yoho.cn/yoho-cookie/-/yoho-cookie-1.2.0.tgz#e8600ff0fcf316e8a9f88d32cd263396dc7e5f22" 8332 resolved "http://npm.yoho.cn/yoho-cookie/-/yoho-cookie-1.2.0.tgz#e8600ff0fcf316e8a9f88d32cd263396dc7e5f22"
8353 8333
8354 -yoho-express-session@^2.0.0:  
8355 - version "2.0.0"  
8356 - resolved "http://npm.yoho.cn/yoho-express-session/-/yoho-express-session-2.0.0.tgz#7b204eed2fbe7bba6bd838c540dfe6975803145f"  
8357 - dependencies:  
8358 - cookie "0.3.1"  
8359 - cookie-signature "1.0.6"  
8360 - crc "3.4.0"  
8361 - debug "~2.2.0"  
8362 - depd "~1.1.0"  
8363 - on-headers "~1.0.1"  
8364 - parseurl "~1.3.1"  
8365 - uid-safe "~2.1.2"  
8366 - utils-merge "1.0.0"  
8367 -  
8368 yoho-fastclick@^1.0.6: 8334 yoho-fastclick@^1.0.6:
8369 version "1.0.6" 8335 version "1.0.6"
8370 resolved "http://npm.yoho.cn/yoho-fastclick/-/yoho-fastclick-1.0.6.tgz#d9a028d904ec66007fc6aa35992ee6b98d512494" 8336 resolved "http://npm.yoho.cn/yoho-fastclick/-/yoho-fastclick-1.0.6.tgz#d9a028d904ec66007fc6aa35992ee6b98d512494"