mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): ♻️ Serve frontend from static files instead of proxying another process
This commit is contained in:
parent
5f8c57b3e1
commit
58b4d7454f
8 changed files with 133 additions and 107 deletions
|
|
@ -57,6 +57,8 @@ export const generateClient = async (
|
|||
token?.data.accessToken,
|
||||
);
|
||||
|
||||
// @ts-expect-error This doesn't include fetch.preconnect, which is a custom property
|
||||
// added by Bun
|
||||
// biome-ignore lint/complexity/useLiteralKeys: Overriding private properties
|
||||
client["fetch"] = (
|
||||
input: RequestInfo | string | URL | Request,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue