fix: Disable cache on /kbo-organizations/*

This commit is contained in:
Laurent Deketelaere
2024-06-07 11:39:55 +02:00
committed by GitHub
parent d57eb0c20c
commit 826a9cdf08

View File

@@ -227,8 +227,9 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://cache/decision-activities/"
end
# There is currently no logic to invalidate the kboOrganization cache when wegwijse updates the content
match "/kbo-organizations/*path", %{ accept: [:any], layer: :api} do
Proxy.forward conn, path, "http://cache/kbo-organizations/"
Proxy.forward conn, path, "http://resource/kbo-organizations/"
end
###############