2
0
Fork 0
mirror of https://github.com/ethauvin/rife2.git synced 2025-04-30 18:48:13 -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);
// no target element, get the fallback element
// if (null == route) {
if (null == route) {
// TODO
// route = searchFallback(elementUrl);
// if (null == route) {
// return null;
return null;
// }
// }
}
// // otherwise get the target element's path info
// else {
// // only accept pathinfo if the element accepts it