fix: fixed the docker build
This commit is contained in:
parent
3f28ccd09c
commit
dae929d851
@ -1,4 +1,10 @@
|
||||
export const getUrl = (baseUrl: string, path: string): string => {
|
||||
const isPlaceholder = baseUrl.split('APP_').length > 1
|
||||
|
||||
if (isPlaceholder) {
|
||||
return baseUrl + '/' + path
|
||||
}
|
||||
|
||||
const url = new URL(baseUrl)
|
||||
|
||||
if (process.env.NEXT_PUBLIC_API_KEY)
|
||||
|
Loading…
Reference in New Issue
Block a user