修改passpord登录路由配置
This commit is contained in:
parent
f14881b9e4
commit
43a2cdd55c
@ -4,8 +4,8 @@ VUE_APP_BASE_API2='https://invitation.counterfire.games'
|
||||
VUE_APP_GPAL_API='https://game2006api.cebggame.com/'
|
||||
# VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-8c2FAlWxWAoRITk1v9rH
|
||||
VUE_APP_PASSPORT_PUBLISHABLE_KEY=pk_imapik-test-eRr-kyOKaZ0jIdrvrPCn
|
||||
VUE_APP_PASSPORT_REDIRECT_URI=http://localhost:4000/marketplace
|
||||
VUE_APP_PASSPORT_LOGOUT_URI=http://localhost:4000/
|
||||
VUE_APP_PASSPORT_REDIRECT_URI=https://market.kingsome.cn
|
||||
VUE_APP_PASSPORT_LOGOUT_URI=https://market.kingsome.cn
|
||||
VUE_APP_PASSPORT_CLIENT_ID=eTmUah69p7ZdRhRYzBta6lZRKXXeXDYj
|
||||
#VUE_APP_PASSPORT_CLIENT_ID=0FNfXxQywm7wjdbyLTDzWt4txc53yRrT
|
||||
VUE_APP_PASSPORT_MARKET_ADDRESS=0x7d117aA8BD6D31c4fa91722f246388f38ab1942c
|
||||
|
@ -4,7 +4,8 @@
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"dev": "vite --host --mode dev",
|
||||
"build:dev": "vite build --mode dev",
|
||||
"build:task": "vite build --mode dev",
|
||||
"build:dev": "vite build --mode development",
|
||||
"build:test": "vite build --mode test",
|
||||
"build:prod": "vite build --mode production"
|
||||
},
|
||||
|
@ -19,7 +19,7 @@ export class PassportWallet {
|
||||
this.passportInstance = new passport.Passport({
|
||||
baseConfig,
|
||||
clientId, // replace with your client ID from Hub
|
||||
redirectUri, // replace with one of your redirect URIs from Hub
|
||||
redirectUri: `${redirectUri}/`, // replace with one of your redirect URIs from Hub
|
||||
logoutRedirectUri, // replace with one of your logout URIs from Hub
|
||||
logoutMode: 'silent',
|
||||
audience: 'platform_api',
|
||||
|
Loading…
x
Reference in New Issue
Block a user