mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
portal refactoring: the 'yunohost tile' thingy won't work anymore, gotta discuss what we want to do exactly
This commit is contained in:
parent
0cb673c125
commit
f4dfb56006
1 changed files with 12 additions and 8 deletions
|
@ -1,8 +1,12 @@
|
|||
# Insert YunoHost button + portal overlay
|
||||
sub_filter </head> '<script type="text/javascript" src="/ynh_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynh_overlay.css"><script type="text/javascript" src="/ynhtheme/custom_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom_overlay.css"></head>';
|
||||
sub_filter_once on;
|
||||
# Apply to other mime types than text/html
|
||||
sub_filter_types application/xhtml+xml;
|
||||
# Prevent YunoHost panel files from being blocked by specific app rules
|
||||
location ~ (ynh_portal.js|ynh_overlay.css|ynh_userinfo.json|ynhtheme/custom_portal.js|ynhtheme/custom_overlay.css) {
|
||||
}
|
||||
# This is some old code that worked with the old portal
|
||||
# We need to rethink wether we want to keep something similar,
|
||||
# or drop the feature
|
||||
|
||||
# # Insert YunoHost button + portal overlay
|
||||
# sub_filter </head> '<script type="text/javascript" src="/ynh_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynh_overlay.css"><script type="text/javascript" src="/ynhtheme/custom_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom_overlay.css"></head>';
|
||||
# sub_filter_once on;
|
||||
# # Apply to other mime types than text/html
|
||||
# sub_filter_types application/xhtml+xml;
|
||||
# # Prevent YunoHost panel files from being blocked by specific app rules
|
||||
# location ~ (ynh_portal.js|ynh_overlay.css|ynh_userinfo.json|ynhtheme/custom_portal.js|ynhtheme/custom_overlay.css) {
|
||||
# }
|
||||
|
|
Loading…
Add table
Reference in a new issue