Commit 8ac2193a38752bc49ff496176ead2dc79184704c
1 parent
eca7c47c39
Exists in
master
Correct user panel inclusion
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
conf/nginx.conf
| ... | ... | @@ -16,7 +16,8 @@ location PATHTOCHANGE { |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | # Include SSOWAT user panel. |
| 19 | - include conf.d/yunohost_panel.conf.inc; | |
| 19 | + sub_filter </head> '<script type="text/javascript" src="/ynhpanel.js"></script></head>'; | |
| 20 | + sub_filter_once on; | |
| 20 | 21 | } |
| 21 | 22 | |
| 22 | 23 | location ~ ^PATHTOCHANGE/(data|config|\.ht|db_structure\.xml|README) { |