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>
6 lines
169 B
Dart
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';
|