tidy: cleanup

This commit is contained in:
Linkie Link
2024-02-14 11:47:42 +01:00
parent dae929d851
commit ea07d5f11e
+1 -3
View File
@@ -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)