Skip to content

Commit

Permalink
revive pathurlstrategy in main.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
EndoNrak committed Oct 21, 2023
1 parent 4e2c34f commit 92e1986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'router.dart' as Router;

Future main() async {
// setUrlStrategy(PathUrlStrategy());
setUrlStrategy(PathUrlStrategy());
// パスベースのURLストラテジーを設定 これがないと、authのリダイレクト時にhttps://hogehoge/#/にリダイレクトされてしまって認可コードを取得できない
runApp(
ProviderScope(
Expand Down

0 comments on commit 92e1986

Please sign in to comment.