From 199a83617dba1e54af67c069ee057be4841adbb2 Mon Sep 17 00:00:00 2001 From: Denperidge Date: Mon, 2 Oct 2023 11:20:49 +0200 Subject: [PATCH] Modified dispatcher-with-emberjs --- config/dispatcher/dispatcher-with-emberjs.ex | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/dispatcher/dispatcher-with-emberjs.ex b/config/dispatcher/dispatcher-with-emberjs.ex index f08f0ee..7bfe62b 100644 --- a/config/dispatcher/dispatcher-with-emberjs.ex +++ b/config/dispatcher/dispatcher-with-emberjs.ex @@ -42,11 +42,7 @@ defmodule Dispatcher do forward conn, path, "http://db:8890/sparql/" end - match "/assets/*path", @any do - forward conn, path, "http://frontend/assets/" - end - - match "/*_path", @html do + match "/*_path", @any do # *_path allows a path to be supplied, but will not yield # an error that we don't use the path variable. forward conn, [], "http://frontend/index.html"