/** * Frontend runtime configuration. * * This file is loaded at runtime (not bundled), so you can edit it * after building without rebuilding the frontend. * * Copy this file to config.js in the same directory as index.html * and adjust the values as needed. */ window.SUB_STORE_CONFIG = { /** * Base URL for the backend API. * - Empty string '' means same origin (frontend served by the backend, or via reverse proxy). * - Set to e.g. 'https://api.example.com' if frontend and backend are on different domains. */ apiBaseUrl: '', /** * Whether to send token as Bearer header (true) or query parameter (false). * Bearer header is more secure (token not in server logs/URLs). */ useBearerAuth: true, }