mirror of
https://github.com/Telecominfraproject/wlan-cloud-graphql-gw.git
synced 2025-10-30 02:02:29 +00:00
undo
This commit is contained in:
@@ -14,7 +14,7 @@ const buildPaginationContext = (cursor, limit, context) =>
|
||||
export class API extends RESTDataSource {
|
||||
get baseURL() {
|
||||
if (process.env.NODE_ENV !== 'production' && !process.env.API) {
|
||||
return 'https://wlan-portal-svc.zone3.lab.connectus.ai/';
|
||||
return 'https://localhost:9091/';
|
||||
}
|
||||
return 'https://' + process.env.API + '/';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user