have path route show up in url bar & change routes to make logical sense
This commit is contained in:
parent
c779568d24
commit
86e6aa005a
13 changed files with 158 additions and 108 deletions
|
|
@ -3,6 +3,7 @@ import 'package:flutter_native_splash/flutter_native_splash.dart';
|
|||
import 'package:patient_manager/env/env.dart';
|
||||
import 'package:patient_manager/main.dart';
|
||||
import 'package:supertokens_flutter/supertokens.dart';
|
||||
import 'package:url_strategy/url_strategy.dart';
|
||||
|
||||
void main() async {
|
||||
WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
|
||||
|
|
@ -12,6 +13,8 @@ void main() async {
|
|||
apiDomain: AppEnviroment.baseApiUrl,
|
||||
apiBasePath: "/auth",
|
||||
);
|
||||
setPathUrlStrategy();
|
||||
();
|
||||
FlutterNativeSplash.remove();
|
||||
runApp(const MzanziInnovationHub());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue