import { appOrigin, LOCAL_ORIGIN } from "$lib/Utility/appOrigin"; export const root = (path: string, enable = false) => `${enable ? LOCAL_ORIGIN : appOrigin()}${path}`; export default root;