Files
tatlock-ui/lib/core/config/url_strategy.dart
T
Jeroen SchweitzerandClaude Opus 4.5 ff5df30c53
Build and Push / release (push) Successful in 3s
Build and Push / build (push) Successful in 2m58s
feat(web): switch to path-based URL strategy
Remove hash from URLs (/#/login -> /login) using usePathUrlStrategy().
Uses conditional imports to only apply on web, keeping mobile/desktop
builds unaffected.

Required for OIDC callback to work - Authentik redirects to /callback
which Flutter now recognizes as a route.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 12:55:36 +01:00

6 lines
169 B
Dart

/// URL strategy with conditional imports for web/non-web platforms.
library;
export 'url_strategy_stub.dart'
if (dart.library.js_interop) 'url_strategy_web.dart';