skillhub/web/runtime-config.js.template
D41910 db6308adde fix(web): align namespace slug validation with SlugValidator
The create-namespace dialog validates slugs client-side before sending
the request, and its pattern was still ASCII-only. SlugValidator has
accepted Unicode letters, numbers and symbols since #196, so the form
rejected slugs the server accepts.

Signed-off-by: D41910 <158550716+D41910@users.noreply.github.com>
2026-10-15 01:22:38 +08:00

9 lines
493 B
Text

window.__SKILLHUB_RUNTIME_CONFIG__ = {
apiBaseUrl: "${SKILLHUB_WEB_API_BASE_URL}",
appBaseUrl: "${SKILLHUB_PUBLIC_BASE_URL}",
authDirectEnabled: "${SKILLHUB_WEB_AUTH_DIRECT_ENABLED}",
authDirectProvider: "${SKILLHUB_WEB_AUTH_DIRECT_PROVIDER}",
authSessionBootstrapEnabled: "${SKILLHUB_WEB_AUTH_SESSION_BOOTSTRAP_ENABLED}",
authSessionBootstrapProvider: "${SKILLHUB_WEB_AUTH_SESSION_BOOTSTRAP_PROVIDER}",
authSessionBootstrapAuto: "${SKILLHUB_WEB_AUTH_SESSION_BOOTSTRAP_AUTO}"
};