Commit ecb565e5 authored by Dio Maulana's avatar Dio Maulana

variant confirm fixed

parent 7c0c03be
...@@ -67,11 +67,13 @@ void main() async { ...@@ -67,11 +67,13 @@ void main() async {
prefs = value; prefs = value;
configLoading(); configLoading();
for (int d = 0; d < Uri.base.pathSegments.length; d++) { for (int d = 0; d < Uri.base.pathSegments.length; d++) {
stringPath.add(Uri.base.pathSegments[d]); if (Uri.base.pathSegments[0] != 'byod-neo/') {
if (d == Uri.base.pathSegments.length - 1) { stringPath.add(Uri.base.pathSegments[d]);
routesToAccess += Uri.base.pathSegments[d]; if (d == Uri.base.pathSegments.length - 1) {
} else { routesToAccess += Uri.base.pathSegments[d];
routesToAccess += '${Uri.base.pathSegments[d]}/'; } else {
routesToAccess += '${Uri.base.pathSegments[d]}/';
}
} }
} }
loadAssetConfig().then((title) { loadAssetConfig().then((title) {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment