update get staff list api key
This commit is contained in:
parent
4f10e0c0fb
commit
7f7a7f5721
@ -1,15 +1,12 @@
|
|||||||
export const AppConfig: {
|
export const AppConfig: {
|
||||||
[key:string]: {
|
[key:string]: {
|
||||||
ldapApiUrl: string,
|
|
||||||
ldapApiKey: string
|
ldapApiKey: string
|
||||||
}
|
}
|
||||||
} = {
|
} = {
|
||||||
default:{
|
default:{
|
||||||
ldapApiUrl: 'https://test-api.hkchc.team',
|
|
||||||
ldapApiKey: 'MPCbsNa6l2RJ7D1Zo6D03qtVF1P93st3'
|
ldapApiKey: 'MPCbsNa6l2RJ7D1Zo6D03qtVF1P93st3'
|
||||||
},
|
},
|
||||||
production:{
|
production:{
|
||||||
ldapApiUrl: 'https://test-api.hkchc.team',
|
ldapApiKey: 'NFIgLIzvmL0ENQeeIDJu5Z7MEp5TjhlE'
|
||||||
ldapApiKey: 'MPCbsNa6l2RJ7D1Zo6D03qtVF1P93st3'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -22,7 +22,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ^~/api {
|
location ^~/api {
|
||||||
proxy_pass https://localhost:50000;
|
proxy_pass http://localhost:30000;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user