fix routing
This commit is contained in:
parent
cc0b252b81
commit
23dd244c87
1 changed files with 4 additions and 2 deletions
|
|
@ -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)}");
|
||||||
// External Links Navigation
|
|
||||||
if (settings.name!.contains(Uri.base.path) && Uri.base.path != "/") {
|
|
||||||
var extPath = Uri.base.path;
|
var extPath = Uri.base.path;
|
||||||
|
// print("extPath: ${extPath}");
|
||||||
|
// print("Setting name: ${settings.name}");
|
||||||
|
// External Links Navigation
|
||||||
|
if (settings.name! == Uri.base.path && 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':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue