From 26a27fb3a806156b3f71c7bd7ddd018682e50866 Mon Sep 17 00:00:00 2001 From: rucsi Date: Thu, 7 Mar 2024 10:30:18 -0500 Subject: [PATCH] _settings --- internal/api/api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/api/api.go b/internal/api/api.go index ecb9c86..e93c93f 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -62,10 +62,10 @@ func Routes() chi.Router { r.Put("/cms/{owner}/{repo}/{ref}/collections/{collection}/{entry}", putEntry) r.Delete("/cms/{owner}/{repo}/{ref}/collections/{collection}/{entry}", delEntry) - r.Post("/cms/{owner}/{repo}/{ref}/images", postImage) + r.Post("/cms/{owner}/{repo}/{ref}/_images", postImage) - r.Get("/cms/{owner}/{repo}/{ref}/settings", getSettings) - r.Get("/cms/{owner}/{repo}/{ref}/settings/{setting}", getSetting) + r.Get("/cms/{owner}/{repo}/{ref}/_settings", getSettings) + r.Get("/cms/{owner}/{repo}/{ref}/_settings/{setting}", getSetting) r.Get("/cms/{owner}/{repo}/{ref}/reference/{collection}/{id}/{locale}", getReference)