Commit 45c39f50 authored by Daniel Sonck's avatar Daniel Sonck
Browse files

Change prefix to /admin

parent 62a1a302
Pipeline #584 passed with stages
in 2 minutes and 20 seconds
......@@ -28,7 +28,7 @@ func Middleware(urlPrefix, spaDirectory string) gin.HandlerFunc {
func main() {
r := gin.Default()
r.Use(Middleware("/", "/web"))
r.Use(Middleware("/admin", "/web"))
r.Any("/healthz", func(c *gin.Context) {
c.Status(200)
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment