Merge pull request #254 from lblod/fix/cache-messing-with-consumer-getting-files
Remove cache from dcat resources
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user