diff --git a/config.ts b/config.ts index 339b6a8..4009839 100644 --- a/config.ts +++ b/config.ts @@ -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' } } \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index d60142f..0994926 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;