Skip to content

Commit

Permalink
Fix game path not being picked at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagomajesk committed Jan 29, 2025
1 parent 1775ca4 commit 8620a3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/gems_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ defmodule GEMSWeb.Endpoint do

plug Plug.Static,
at: "/game",
from: GEMS.data_path(),
gzip: false,
from: {GEMS, :data_path, []},
only: ~w(assets)

# Code reloading can be explicitly enabled under the
Expand Down

0 comments on commit 8620a3c

Please sign in to comment.