tidy: cleanup
This commit is contained in:
parent
dae929d851
commit
ea07d5f11e
@ -1,9 +1,7 @@
|
||||
export const getUrl = (baseUrl: string, path: string): string => {
|
||||
const isPlaceholder = baseUrl.split('APP_').length > 1
|
||||
|
||||
if (isPlaceholder) {
|
||||
return baseUrl + '/' + path
|
||||
}
|
||||
if (isPlaceholder) return baseUrl + '/' + path
|
||||
|
||||
const url = new URL(baseUrl)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user