From 70f8ef0fb1af682c90354dda9000c960a2e6e672 Mon Sep 17 00:00:00 2001 From: "Claude (MonolithCMS)" Date: Mon, 25 May 2026 21:04:06 +0000 Subject: [PATCH] fix: 500 on /editors-picks template + admin notifications SSE 404 --- admin/src/hooks/use-notifications.ts | 2 +- themes/signaldaily/templates/editors-picks.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/hooks/use-notifications.ts b/admin/src/hooks/use-notifications.ts index 1d8d35a..be80c31 100644 --- a/admin/src/hooks/use-notifications.ts +++ b/admin/src/hooks/use-notifications.ts @@ -90,7 +90,7 @@ export function useNotifications() { // Connect to SSE stream const baseUrl = typeof window !== 'undefined' ? window.location.origin : ''; - const sseUrl = `${baseUrl}/admin/api/v1/notifications/stream`; + const sseUrl = `${baseUrl}/api/v1/notifications/stream`; let retryTimeout: ReturnType; let retryCount = 0; diff --git a/themes/signaldaily/templates/editors-picks.html b/themes/signaldaily/templates/editors-picks.html index c896a13..38e8deb 100644 --- a/themes/signaldaily/templates/editors-picks.html +++ b/themes/signaldaily/templates/editors-picks.html @@ -44,7 +44,7 @@ "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "{{ t.breadcrumb_home | default('Home') }}", "item": "{{ site_url | safe }}/" }, - { "@type": "ListItem", "position": 2, "name": "{{ t.editors_picks_page_title | default(\"Editor's picks\") }}" } + { "@type": "ListItem", "position": 2, "name": {{ (t.editors_picks_page_title | default("Editor's picks")) | tojson | safe }} } ] }