Changed shortener endpoint to /api/v1/links

This commit is contained in:
2022-08-28 11:45:07 +02:00
parent 4539c926ec
commit 9aee40d3b1
3 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
},
{
Method: http.MethodPost,
Path: "/redirect",
Path: "/api/v1/links",
Handler: ShortenUrlHandler(serverCtx),
},
},