mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Remove old pages/ directory
This commit is contained in:
parent
577b866bb3
commit
8ec34f7138
19 changed files with 4 additions and 802 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue