mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Propagate file renaming for semantic
This commit is contained in:
parent
3af3c2b779
commit
b99b22bb03
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
# Insert YunoHost panel
|
||||
sub_filter </head> '<script type="text/javascript" src="/ynhpanel.js"></script><link type="text/css" rel="stylesheet" href="/ynhpanel.css"></link><script type="text/javascript" src="/ynhtheme/custom.js"></script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom.css"></link></head>';
|
||||
# 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"></link><script type="text/javascript" src="/ynhtheme/custom_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom_overlay.css"></link></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 ~ ynhpanel\.(js|json|css) {
|
||||
location ~ (ynh_portal.js|ynh_overlay.css) {
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue