mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-12 01:52:49 +00:00
server - fix tests - added reply tests
This commit is contained in:
@@ -7,7 +7,7 @@ defmodule MyAppWeb.PageController do
|
||||
|
||||
# cache index.html if prod
|
||||
file = case System.get_env("MIX_ENV") do
|
||||
:prod ->
|
||||
"prod" ->
|
||||
Cachex.get(:myapp, "index.html")
|
||||
|> get_file
|
||||
_ -> File.read!(Application.app_dir(:myapp, "priv/static/index.html"))
|
||||
|
||||
Reference in New Issue
Block a user