Voeg Api.AndreaSlopFotografie toe met setup-token, proxy-bewuste limiters en ASF-admin-thema
- Core: opt-in ForwardedHeaders:KnownProxies en rate limiters per clientadres (zonder configuratie ongewijzigd gedrag) - Identity: optioneel setup-token (X-Setup-Token), beide setup-endpoints onder de login-limiter, beveiligingsgebeurtenis setup_token_rejected (5007) - Nieuw client-project SlpModularCms.Api.AndreaSlopFotografie (Identity + Availability) met bijbehorende tests - Frontend: thema asf (VITE_THEME), VITE_DEFAULT_LANGUAGE, tokenveld op de setup-pagina - CI: jobs publish/deploy-asf-test achter ASF_TEST_DEPLOY_ENABLED - Fix U1: 301-Location wordt nu percent-encoded (gevonden door de property-test) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Vendored
+7
@@ -15,6 +15,10 @@ interface ImportMetaEnv {
|
||||
readonly VITE_SENTRY_DSN?: string;
|
||||
/** Build-time environment tag ('test' | 'production'). Both use `vite build`, so MODE alone cannot tell them apart. */
|
||||
readonly VITE_APP_ENV?: string;
|
||||
/** Admin theme folder under frontend/themes (e.g. 'asf'). Absent = the default look. Read by vite.config.ts at build time. */
|
||||
readonly VITE_THEME?: string;
|
||||
/** Initial language when the user has not chosen one yet ('nl' | 'en'). Absent = browser language. */
|
||||
readonly VITE_DEFAULT_LANGUAGE?: string;
|
||||
/** Self-hosted Umami tracking script URL, e.g. https://analytics.example.com/script.js */
|
||||
readonly VITE_UMAMI_SCRIPT_URL?: string;
|
||||
/** Umami website ID, created per environment in the Umami dashboard. */
|
||||
@@ -28,3 +32,6 @@ interface ImportMeta {
|
||||
|
||||
/** App version at build time (from package.json), injected via vite.config.ts `define`. Used as the Sentry `release` tag. */
|
||||
declare const __APP_VERSION__: string;
|
||||
|
||||
/** Alias to the selected theme stylesheet (see vite.config.ts and themes/). */
|
||||
declare module '@theme';
|
||||
|
||||
Reference in New Issue
Block a user