Merge pull request #62 from lblod/feature/yasgui

Feature/yasgui
This commit is contained in:
Boris De Vloed
2021-11-10 14:23:59 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ defmodule Dispatcher do
html: ["text/html", "application/xhtml+html"],
json: ["application/json", "application/vnd.api+json"],
upload: ["multipart/form-data"],
sparql_json: ["application/sparql-results+json"],
any: [ "*/*" ],
]
@@ -239,6 +240,10 @@ defmodule Dispatcher do
forward conn, path, "http://uri-info/"
end
match "/sparql/*path", %{ layer: :api_services, accept: %{ sparql_json: true } } do
forward conn, path, "http://db:8890/sparql/"
end
###############################################################
# frontend layer

View File

@@ -143,7 +143,7 @@ services:
SERVER_PORT: "80"
SPARQL_ENDPOINT: "http://db:8890/sparql"
LOGGING_LEVEL: "INFO"
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin"
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/privacy-centric-graph"
SESSION_GRAPH: "http://mu.semte.ch/graphs/sessions"
labels:
- "logging=true"