1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 09:32:51 +00:00

server/client - eu support for fetching characters

This commit is contained in:
2018-01-26 22:41:35 -06:00
parent ce151bc0c0
commit 7344bb428a
7 changed files with 51 additions and 51 deletions

View File

@@ -8,7 +8,7 @@ defmodule MyAppWeb.PageController do
# cache index.html if prod
file = case System.get_env("MIX_ENV") do
:prod ->
file = Cachex.get(:myapp, "index.html")
Cachex.get(:myapp, "index.html")
|> get_file
_ -> File.read!(Application.app_dir(:myapp, "priv/static/index.html"))
end