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
|
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
|
end
|
||||||
|
|
||||||
get "/distributions/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user