From 38e2c76fd8e5d10a7ccdedc9502dc83d7c1bee1f Mon Sep 17 00:00:00 2001 From: Claire Lovisa Date: Thu, 9 Mar 2023 14:39:32 +0100 Subject: [PATCH] Remove cache from dcat resources --- config/dispatcher/dispatcher.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index cb7773e..6c5f881 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -330,11 +330,11 @@ defmodule Dispatcher do ################################################################# get "/datasets/*path", %{ layer: :api_services, accept: %{ json: true } } do - Proxy.forward conn, path, "http://cache/datasets/" + Proxy.forward conn, path, "http://resource/datasets/" end get "/distributions/*path", %{ layer: :api_services, accept: %{ json: true } } do - Proxy.forward conn, path, "http://cache/distributions/" + Proxy.forward conn, path, "http://resource/distributions/" end