feat(frontend): log in with Discord
This commit is contained in:
parent
e4d028bbad
commit
4a8e1bb54f
8 changed files with 158 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import type { APIError } from "./types";
|
||||
|
||||
const apiBase = process.env.API_BASE ?? "http://localhost:8080";
|
||||
const apiBase = process.env.API_BASE ?? "/api";
|
||||
|
||||
export default async function fetchAPI<T>(
|
||||
path: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue