mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Update access.lua
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
41ed91bbcb
commit
06f1f30226
1 changed files with 4 additions and 3 deletions
|
@ -206,9 +206,10 @@ end
|
|||
--
|
||||
|
||||
if is_logged_in then
|
||||
assets = {}
|
||||
assets["/ynh_portal.js"] = "js/ynh_portal.js"
|
||||
assets["/ynh_overlay.css"] = "css/ynh_overlay.css"
|
||||
assets = {
|
||||
["/ynh_portal.js"] = "js/ynh_portal.js",
|
||||
["/ynh_overlay.css"] = "css/ynh_overlay.css"
|
||||
}
|
||||
theme_dir = "/usr/share/ssowat/portal/assets/themes/"..conf.theme
|
||||
local pfile = io.popen('find "'..theme_dir..'" -type f -exec realpath --relative-to "'..theme_dir..'" {} \\;')
|
||||
for filename in pfile:lines() do
|
||||
|
|
Loading…
Reference in a new issue