mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(federation): ♻️ Move Versia Note URIs to /notes, instead of /objects
This commit is contained in:
parent
4063d58d79
commit
6622ee9020
7 changed files with 358 additions and 36 deletions
|
|
@ -1,4 +0,0 @@
|
|||
import { config } from "~/config.ts";
|
||||
|
||||
export const localObjectUri = (id: string): URL =>
|
||||
new URL(`/objects/${id}`, config.http.base_url);
|
||||
Loading…
Add table
Add a link
Reference in a new issue