Merge pull request #254 from lblod/fix/cache-messing-with-consumer-getting-files

Remove cache from dcat resources
This commit is contained in:
Claire Lovisa
2023-03-09 15:17:05 +01:00
committed by GitHub

View File

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