env and docker fixes (#2182)

This commit is contained in:
sriram veeraghanta
2023-09-14 12:26:07 +05:30
committed by GitHub
parent 87abf3ccb1
commit f983d787b4
6 changed files with 29 additions and 34 deletions

View File

@@ -17,7 +17,6 @@ export const debounce = (func: any, wait: number, immediate: boolean = false) =>
};
};
export const API_BASE_URL =
process.env.NEXT_PUBLIC_API_BASE_URL !== undefined
? process.env.NEXT_PUBLIC_API_BASE_URL
: "http://localhost:8000";
export const API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL
? process.env.NEXT_PUBLIC_API_BASE_URL
: "";