update get staff list api key

This commit is contained in:
LittleBoy 2024-08-12 22:20:34 +08:00
parent 4f10e0c0fb
commit 7f7a7f5721
2 changed files with 2 additions and 5 deletions

View File

@ -1,15 +1,12 @@
export const AppConfig: {
[key:string]: {
ldapApiUrl: string,
ldapApiKey: string
}
} = {
default:{
ldapApiUrl: 'https://test-api.hkchc.team',
ldapApiKey: 'MPCbsNa6l2RJ7D1Zo6D03qtVF1P93st3'
},
production:{
ldapApiUrl: 'https://test-api.hkchc.team',
ldapApiKey: 'MPCbsNa6l2RJ7D1Zo6D03qtVF1P93st3'
ldapApiKey: 'NFIgLIzvmL0ENQeeIDJu5Z7MEp5TjhlE'
}
}

View File

@ -22,7 +22,7 @@ server {
}
location ^~/api {
proxy_pass https://localhost:50000;
proxy_pass http://localhost:30000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;