Skip to content

Commit 0cf78e1

Browse files
committed
Change kitspace route to __kitspace
1 parent cdb8b21 commit 0cf78e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

routers/kitspace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func Kitspace(ctx *context.Context, sess session.Store, x csrf.CSRF) (int, []byt
2828
url.Host = "frontend:3000"
2929
url.Path = strings.Replace(
3030
ctx.Link,
31-
path.Join(setting.AppSubURL, "/kitspace"),
31+
path.Join(setting.AppSubURL, "/__kitspace"),
3232
"",
3333
1,
3434
)

routers/routes/routes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func NewMacaron() *macaron.Macaron {
241241
}
242242

243243
func RegisterKitspaceRoutes(m *macaron.Macaron) {
244-
m.Get("/kitspace/?*", routers.Kitspace)
244+
m.Get("/__kitspace/?*", routers.Kitspace)
245245
}
246246

247247
// RegisterRoutes routes routes to Macaron

0 commit comments

Comments
 (0)