Skip to content

Commit

Permalink
Modified dispatcher-with-emberjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Denperidge committed Oct 2, 2023
1 parent 6abe41b commit 199a836
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions config/dispatcher/dispatcher-with-emberjs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 199a836

Please sign in to comment.