From 4af9a958bbe3cc362f87b2f8a65253d56610c4fe Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Mon, 27 Jul 2026 21:34:09 +0200 Subject: [PATCH] wiki_service fix, HowtosIndexPage fix --- apps/api/app/services/wiki_service.rb | 4 ++-- apps/frontend/src/page/howtos/HowtosIndexPage.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 @@