variable API_URL

The API's origin, which every fetch of the frontend prefixes to its path. It is empty in production, where the API is the page's own origin.

Type

string

Usage

import { API_URL } from "src/config/api.ts";