fix: db-studio prefix fixes

This commit is contained in:
allanice001
2025-11-11 04:01:57 +00:00
parent b4c108a5be
commit ea4c625269
3 changed files with 25 additions and 22 deletions

View File

@@ -219,7 +219,7 @@ func NewRouter(db *gorm.DB, jobs *bg.Jobs, studio http.Handler) http.Handler {
adminOnly := httpmiddleware.RequirePlatformAdmin()
gr.Use(authUser)
gr.Use(adminOnly)
gr.Mount("/db-studio", http.StripPrefix("/db-studio", studio))
gr.Mount("/db-studio", studio)
})
}