From a6dba91cd1e1e5895b74ee6c8d75c5b36d2ef237 Mon Sep 17 00:00:00 2001 From: Niels Steenbergen Date: Fri, 20 Mar 2026 16:15:07 +0100 Subject: [PATCH] Process frontend only after API services. Without this change, the `/*_path` rule on host `yasgui.*` matches before the VC rules, which means that verifiable credentials no longer work. --- config/dispatcher/dispatcher.ex | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index 541dee1c..182c96e7 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -8,7 +8,7 @@ defmodule Dispatcher do any: ["*/*"] ] - define_layers([:static, :sparql, :frontend, :api_services, :frontend_fallback, :resources, :not_found]) + define_layers([:static, :sparql, :api_services, :frontend, :resources, :not_found]) options "/*_path", _ do conn @@ -408,10 +408,6 @@ defmodule Dispatcher do forward(conn, [], "http://frontend-yasgui/index.html") end - match "/*_path", %{layer: :frontend_fallback, accept: %{html: true}} do - forward(conn, [], "http://frontend-dcat/index.html") - end - ################# # DCAT #################