fix routing
This commit is contained in:
@@ -22,9 +22,11 @@ class RouteGenerator {
|
|||||||
// print("Base Url: ${Uri.base.path}");
|
// print("Base Url: ${Uri.base.path}");
|
||||||
// print(
|
// print(
|
||||||
// "settings inside base url: ${settings.name!.contains(Uri.base.path)}");
|
// "settings inside base url: ${settings.name!.contains(Uri.base.path)}");
|
||||||
|
var extPath = Uri.base.path;
|
||||||
|
// print("extPath: ${extPath}");
|
||||||
|
// print("Setting name: ${settings.name}");
|
||||||
// External Links Navigation
|
// External Links Navigation
|
||||||
if (settings.name!.contains(Uri.base.path) && Uri.base.path != "/") {
|
if (settings.name! == Uri.base.path && Uri.base.path != "/") {
|
||||||
var extPath = Uri.base.path;
|
|
||||||
//print("query Param: ${Uri.base.queryParameters['token']}");
|
//print("query Param: ${Uri.base.queryParameters['token']}");
|
||||||
switch (extPath) {
|
switch (extPath) {
|
||||||
case '/auth/reset-password':
|
case '/auth/reset-password':
|
||||||
|
|||||||
Reference in New Issue
Block a user