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: { 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'
} }
} }

View File

@ -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;