|
@@ -44,5 +44,6 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
m.Post("/manager/flush-queues", bind(private.FlushOptions{}), FlushQueues) |
|
|
m.Post("/manager/flush-queues", bind(private.FlushOptions{}), FlushQueues) |
|
|
m.Post("/tool/update_all_repo_commit_cnt", UpdateAllRepoCommitCnt) |
|
|
m.Post("/tool/update_all_repo_commit_cnt", UpdateAllRepoCommitCnt) |
|
|
m.Post("/tool/repo_stat", RepoStatisticManually) |
|
|
m.Post("/tool/repo_stat", RepoStatisticManually) |
|
|
|
|
|
m.Post("/tool/create_model", CreateModel) |
|
|
}, CheckInternalToken) |
|
|
}, CheckInternalToken) |
|
|
} |
|
|
} |