variable PUBLIC_URL

The URL visitors reach the server at (GERBEUR_PUBLIC_URL), without a trailing slash. Behind a reverse proxy it must be the outside URL: it is an allowed origin, it tells links to this site's own pages from other links, and it prefixes the image URLs in their previews.

Type

string

Usage

import { PUBLIC_URL } from "api/config.ts";