Fixed routes

This commit is contained in:
cdricms
2025-02-11 11:51:31 +01:00
parent bc54133f18
commit 7872ecce8a
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ var ShortcodesRoutes = map[string]core.Handler{
Handler: shortcodes.HandleNew,
Middlewares: []core.Middleware{Methods("POST"), AuthJWT},
},
"/shortcodes/": {
"/shortcodes": {
Handler: shortcodes.HandleShortcodes,
Middlewares: []core.Middleware{Methods("GET"), AuthJWT},
},