Browse Source

Merge branch 'develop' of git.pcl.ac.cn:yoyoyard/opendata into develop

master
colorfulberry 5 years ago
parent
commit
04d6650679
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/routes/routes.go

+ 1
- 1
routers/routes/routes.go View File

@@ -508,7 +508,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Group("", func() {
m.Get("/:username", user.Profile)
m.Get("/attachments/:uuid", repo.GetAttachment)
}, ignSignIn)
}, reqSignIn)

m.Group("/attachments", func() {
m.Post("", repo.UploadAttachment)


Loading…
Cancel
Save