feat(frontend): log in with Discord

This commit is contained in:
Sam 2022-09-16 00:49:04 +02:00
parent e4d028bbad
commit 4a8e1bb54f
8 changed files with 158 additions and 3 deletions

View file

@ -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,