I have simple server running on my nodeMCU and I would like to redirect all user request to one function. So that any page that will user type it will always go to the specific function.
Is there some wildcard or something?
I have tried something like this but it is not working:
server.on("/*",function);
server.on("*",function);