Revert "feat: add native fnOS gateway socket and base path support"
CI / verify (push) Canceled after 0s
CI / verify (push) Canceled after 0s
This reverts commit 419c205103.
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
export const APP_BASE = import.meta.env.BASE_URL.replace(/\/$/, '')
|
||||
|
||||
export function withBase(path: string): string {
|
||||
if (!path.startsWith('/')) return path
|
||||
return `${APP_BASE}${path}`
|
||||
}
|
||||
Reference in New Issue
Block a user