camper/pkg/app
jordi fita mas dd0a4a8ba9 Instead of keeping a requestPath in app, use request.RequestURI
I was keeping this variable to redirect to the requested URL when the
user has no permission, is not logged in, and is shown the login form to
redirect them back to the original URL.  Since each handler removes a
part of the path each time, i need to keep the original Path for that.

However, i just found out that request.RequestURI already is that
original URI requested by the client.  No need for an extra variable.
2023-08-06 04:03:04 +02:00
..
admin.go Instead of keeping a requestPath in app, use request.RequestURI 2023-08-06 04:03:04 +02:00
app.go Instead of keeping a requestPath in app, use request.RequestURI 2023-08-06 04:03:04 +02:00
login.go Split templates and handlers into admin and public 2023-08-05 03:42:37 +02:00
public.go Split templates and handlers into admin and public 2023-08-05 03:42:37 +02:00
user.go Instead of keeping a requestPath in app, use request.RequestURI 2023-08-06 04:03:04 +02:00