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