Remove old pages/ directory

This commit is contained in:
Jesse Wierzbinski 2024-04-09 01:55:03 -10:00
parent 577b866bb3
commit 8ec34f7138
No known key found for this signature in database
19 changed files with 4 additions and 802 deletions

View file

@ -107,11 +107,9 @@ if (!config) {
throw new Error("Config not found");
}
const url = `${config.http.bind}:${config.http.bind_port}`;
const instanceInfo = (await fetch(new URL("/api/v1/instance", url)).then(
(data) => data.json(),
)) as APIInstance & {
const instanceInfo = (await fetch(
new URL("/api/v1/instance", config.http.url),
).then((data) => data.json())) as APIInstance & {
tos_url: string;
};