From da7998e89e54f9b83e48ab60900522e4f947e1cb Mon Sep 17 00:00:00 2001 From: Floatingghost Date: Sun, 23 Feb 2025 16:16:17 +0000 Subject: [PATCH] put oban route under a known prefix --- lib/pleroma/web/router.ex | 2 +- lib/pleroma/web/templates/masto_fe/fedibird.html.heex | 2 +- lib/pleroma/web/templates/masto_fe/glitchsoc.html.heex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index a38017d59..5803e6a02 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -905,7 +905,7 @@ defmodule Pleroma.Web.Router do csp_nonce_assign_key: :csp_nonce ) - oban_dashboard("/oban/dashboard", csp_nonce_assign_key: :csp_nonce) + oban_dashboard("/akkoma/oban", csp_nonce_assign_key: :csp_nonce) end # Test-only routes needed to test action dispatching and plug chain execution diff --git a/lib/pleroma/web/templates/masto_fe/fedibird.html.heex b/lib/pleroma/web/templates/masto_fe/fedibird.html.heex index 7070bd8d8..45438798a 100644 --- a/lib/pleroma/web/templates/masto_fe/fedibird.html.heex +++ b/lib/pleroma/web/templates/masto_fe/fedibird.html.heex @@ -5,7 +5,7 @@ - <%= Config.get([:instance, :name]) %> + {Config.get([:instance, :name])} diff --git a/lib/pleroma/web/templates/masto_fe/glitchsoc.html.heex b/lib/pleroma/web/templates/masto_fe/glitchsoc.html.heex index 469c201a5..7fef592c5 100644 --- a/lib/pleroma/web/templates/masto_fe/glitchsoc.html.heex +++ b/lib/pleroma/web/templates/masto_fe/glitchsoc.html.heex @@ -5,7 +5,7 @@ - <%= Config.get([:instance, :name]) %> + {Config.get([:instance, :name])}