mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
5 lines
143 B
TypeScript
5 lines
143 B
TypeScript
import { config } from "~/config.ts";
|
|
|
|
export const localObjectUri = (id: string): URL =>
|
|
new URL(`/objects/${id}`, config.http.base_url);
|