Remove unused web URL strategy configuration from main.dart
This commit is contained in:
@@ -16,8 +16,6 @@ import 'pages/public_file_viewer.dart';
|
|||||||
import 'theme/app_theme.dart';
|
import 'theme/app_theme.dart';
|
||||||
import 'injection.dart';
|
import 'injection.dart';
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart' show kIsWeb;
|
|
||||||
import 'package:flutter_web_plugins/url_strategy.dart';
|
|
||||||
|
|
||||||
final GoRouter _router = GoRouter(
|
final GoRouter _router = GoRouter(
|
||||||
routes: [
|
routes: [
|
||||||
@@ -55,9 +53,6 @@ final GoRouter _router = GoRouter(
|
|||||||
);
|
);
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
if (kIsWeb) {
|
|
||||||
setUrlStrategy(PathUrlStrategy());
|
|
||||||
}
|
|
||||||
runApp(const MainApp());
|
runApp(const MainApp());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user