Compare commits

...

3 Commits

Author SHA1 Message Date
Nordine Bittich
ce86032640 bump frontend 2022-05-17 13:14:08 +02:00
Claire Lovisa
d6fccd5622 Bump frontend 2022-05-13 11:28:01 +02:00
Claire Lovisa
eb42076ec2 Forward some calls to resource directly
There seems to be an issue with mu-cache, we sometimes need to restart
the cache to see results in the "Bedinaren" page. Otherwise it shows
empty results. As a workaround while it's investigated, we talk directly
to mu-cl-resource instead.
2022-05-13 11:00:36 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -73,11 +73,11 @@ defmodule Dispatcher do
end
match "/worship-administrative-units/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/worship-administrative-units/"
Proxy.forward conn, path, "http://resource/worship-administrative-units/"
end
match "/worship-services/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/worship-services/"
Proxy.forward conn, path, "http://resource/worship-services/"
end
match "/recognized-worship-types/*path", %{ accept: [:json], layer: :api} do
@@ -204,7 +204,7 @@ defmodule Dispatcher do
###############
match "/accounts", %{ accept: [:json], layer: :api} do
Proxy.forward conn, [], "http://resource/accounts/"
Proxy.forward conn, [], "http://resource/accounts/"
end
match "/accounts/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://accountdetail/accounts/"

View File

@@ -158,7 +158,7 @@ services:
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-organization-portal:1.7.2
image: lblod/frontend-organization-portal:1.8.0-1
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment: