yunohost/data/templates/nginx/plain/yunohost_panel.conf.inc
ljf (zamentur) 2defd6ffa8
[fix] Keep user info in json format
Previously it was ynhpanel.json
2019-03-22 16:20:35 +01:00

8 lines
594 B
HTML

# 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 ~ (ynh_portal.js|ynh_overlay.css|userinfo.json) {
}