How do I redirect ALL non-authenticated routes to a login page? i.e. how does one get("EVERYTHING")... get(" * ") only gets ANYTHING/ but not ANYTHING/ANYTHING.
Gunslingor
08/29/2020, 11:47 PM
more specifically... if someone enters an undefined route, forward them to login.
hmm... ok... it's just wierd, KotlinJS is in use and I'm trying to move routing to the front end, but seems like the backend still requires all the same routes even though they all end up pointing to the same function, Frontend().... the only HTML in the backend now that loads the libs, css and project.js