export { COOKIE_NAME, ONE_YEAR_MS } from "@shared/const";

/**
 * Sub-path under which the app is served (e.g. "/app" on cPanel), derived
 * from Vite's `base` config via `import.meta.env.BASE_URL`. Empty string
 * when the app is served from the domain root.
 */
export const BASE_PATH = import.meta.env.BASE_URL.replace(/\/$/, "");

export const LOGIN_PATH = "/entrar";
export const REGISTER_PATH = "/cadastro";
