diff --git a/apps/api/app/services/wiki_service.rb b/apps/api/app/services/wiki_service.rb index 6038f7d..172020a 100644 --- a/apps/api/app/services/wiki_service.rb +++ b/apps/api/app/services/wiki_service.rb @@ -3,7 +3,7 @@ require "json" # Fetches wiki pages (blog, howto, …) from the Grav backend, filtered by tag. # -# Grav exposes: GET {WIKI_GRAV_URL}/api/pages.json?tag=[&limit=][&body=1] +# Grav exposes: GET {WIKI_GRAV_URL}/custom/pages.json?tag=[&limit=][&body=1] # and returns: # { # "tag": "howto", "count": 24, @@ -26,7 +26,7 @@ class WikiService query[:limit] = limit if limit.present? query[:body] = body if body.present? - uri = URI.parse("#{GRAV_URL}/api/pages.json") + uri = URI.parse("#{GRAV_URL}/custom/pages.json") uri.query = URI.encode_www_form(query) response = Net::HTTP.start( diff --git a/apps/frontend/src/page/howtos/HowtosIndexPage.vue b/apps/frontend/src/page/howtos/HowtosIndexPage.vue index a4c37bc..52d0174 100644 --- a/apps/frontend/src/page/howtos/HowtosIndexPage.vue +++ b/apps/frontend/src/page/howtos/HowtosIndexPage.vue @@ -37,7 +37,7 @@