Something went wrong. Try again.
A self-hosted web platform for applications & services with design based on Google's Material 3 Expressive. (Work In Progress)
Something went wrong. Try again.
12345678export default function backend(path: string): string { if (window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1") { return `https://localhost${path}`; }
return `${window.location.origin}${path}`;}