2
0
Fork 0
mirror of https://github.com/ethauvin/rife2.git synced 2025-05-01 19:08:12 -07:00

Fix for when a route can't be found

This commit is contained in:
Geert Bevin 2022-10-08 10:56:44 -04:00
parent 73d6eb3d86
commit 258c345fcd

View file

@ -218,12 +218,13 @@ public class Site {
while (true); while (true);
// no target element, get the fallback element // no target element, get the fallback element
// if (null == route) { if (null == route) {
// TODO
// route = searchFallback(elementUrl); // route = searchFallback(elementUrl);
// if (null == route) { // if (null == route) {
// return null; return null;
// } // }
// } }
// // otherwise get the target element's path info // // otherwise get the target element's path info
// else { // else {
// // only accept pathinfo if the element accepts it // // only accept pathinfo if the element accepts it