refactor: dispatch requests on organization path to resources service
Forwarding requests on the organizations path to the cache leads to issues were changes that the user just made are not shown. For example, when adding a related organization the newly added organization would not show up in the list unless the cache was restarted.
This commit is contained in:
committed by
Alexander van den Berghe
parent
d28cb221da
commit
178f5c17e6
@@ -73,7 +73,7 @@ defmodule Dispatcher do
|
||||
end
|
||||
|
||||
match "/organizations/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/organizations/"
|
||||
Proxy.forward conn, path, "http://resource/organizations/"
|
||||
end
|
||||
|
||||
match "/administrative-units/*path", %{ accept: [:json], layer: :api} do
|
||||
|
||||
Reference in New Issue
Block a user