Hi there,
by simply activating PROD app_env, Genie.loadapp(context=MyModule) fails because it says PLUGINS_WITH_ASSETS are not defined, which indeed are not defined inside MyModule.
It turns out there are a couple of more such variables which seem to be wrongly resolved in the calling module, and not in GenieFramework. I guess they all should be interpolated.
Two particular places:
|
Genie.Assets.assets_config!([Genie, PLUGINS_WITH_ASSETS..., GenieAutoReload], host = ENV["BASEPATH"]) |
|
Genie.Assets.assets_config!([Genie, PLUGINS_WITH_ASSETS...], host = Genie.config.cdn_url) |
maybe there is more
Hi there,
by simply activating PROD app_env,
Genie.loadapp(context=MyModule)fails because it saysPLUGINS_WITH_ASSETSare not defined, which indeed are not defined insideMyModule.It turns out there are a couple of more such variables which seem to be wrongly resolved in the calling module, and not in GenieFramework. I guess they all should be interpolated.
Two particular places:
GenieFramework.jl/src/GenieFramework.jl
Line 69 in aabfec7
GenieFramework.jl/src/GenieFramework.jl
Line 79 in aabfec7
maybe there is more