mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 19:39:19 +00:00
Add video route (still unprotected)
This commit is contained in:
@@ -81,6 +81,9 @@ func main() {
|
||||
photoRouter := endpointRouter.PathPrefix("/photo").Subrouter()
|
||||
routes.RegisterPhotoRoutes(db, photoRouter)
|
||||
|
||||
videoRouter := endpointRouter.PathPrefix("/video").Subrouter()
|
||||
routes.RegisterVideoRoutes(db, videoRouter)
|
||||
|
||||
shouldServeUI := os.Getenv("SERVE_UI") == "1"
|
||||
|
||||
if shouldServeUI {
|
||||
|
||||
Reference in New Issue
Block a user