Merge pull request #433 from lblod/fix/disable-kbo-organizations-cache

Disable cache on `/kbo-organizations/*`
This commit is contained in:
Laurent Deketelaere
2024-06-07 12:23:55 +02:00
committed by GitHub

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
###############