From 567740ae86fc2a2104b308dc522fa8903fef8d76 Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Tue, 9 Nov 2021 15:43:09 +0100 Subject: [PATCH] yasgui --- config/dispatcher/dispatcher.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index 6074fc6..6df46e5 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -239,6 +239,10 @@ defmodule Dispatcher do forward conn, path, "http://uri-info/" end + get "/sparql/*path", %{ layer: :api_services, accept: %{ json: true } } do + forward conn, path, "http://db/" + end + ############################################################### # frontend layer