Merge pull request #925 from YunoHost/kay0u-patch-1

[fix] custom_portal and custom_overlay redirect
This commit is contained in:
Kayou 2020-04-18 01:42:58 +02:00 committed by GitHub
commit 9af942afa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,5 +4,5 @@ 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) {
location ~ (ynh_portal.js|ynh_overlay.css|ynh_userinfo.json|ynhtheme/custom_portal.js|ynhtheme/custom_overlay.css) {
}