Re: EuMVC:Dealing with favicon request
- Posted by euphoric (admin) Apr 07, 2022
- 749 views
euphoric said...
Does downloading the ZIP not get me the latest code? I get the same error as before after having replaced the old code with the new stuff... apparently.
The problem is this function in my app:
function unknown(object request) sequence url = map:get(request,"PATH_INFO") map response = map:new() addHomePageVars(response) map:put(response, "error", "Unknown path: " & map:get(request,"PATH_INFO")) return redirect( url_for("index", response ) ) end function app:route("*", "unknown")
It's supposed to be a catch-all for unknown paths. I guess I need a different approach...