You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I have to edit the macros.html file like so:
sed -i 's/<a class="dropdown-item" href="\/qbittorrent.downloads">qBittorrent<\/a>/<a class="dropdown-item" href="\/movies">Movies<\/a>\n<a class="dropdown-item" href="\/shows">Shows<\/a>/' /opt/swizzin/templates/macros.html
(locations as I defined them in /etc/nginx/apps/qbtindex.conf):
location /movies {
alias"/mnt/Downloads/Movies";
include /etc/nginx/snippets/fancyindex.conf;# auth_basic "What's the password?";# auth_basic_user_file /etc/htpasswd;
location ~*\.php$ {
}
}
location /shows {
alias"/mnt/Downloads/Shows";
include /etc/nginx/snippets/fancyindex.conf;# auth_basic "What's the password?";# auth_basic_user_file /etc/htpasswd;
location ~*\.php$ {
}
}
But that gets annoying quite fast.
It would be nice if there was an easy way to define custom locations for the panel, for example in the cfg file. It would also be nice for swizzin to offer a way to do what I did with qbtindex.conf more easily, it took me a good dozen searches through file contents to actually find what to edit, though I don't know exactly where to request that...
The text was updated successfully, but these errors were encountered:
Right now I have to edit the macros.html file like so:
sed -i 's/<a class="dropdown-item" href="\/qbittorrent.downloads">qBittorrent<\/a>/<a class="dropdown-item" href="\/movies">Movies<\/a>\n<a class="dropdown-item" href="\/shows">Shows<\/a>/' /opt/swizzin/templates/macros.html
(locations as I defined them in
/etc/nginx/apps/qbtindex.conf
):But that gets annoying quite fast.
It would be nice if there was an easy way to define custom locations for the panel, for example in the cfg file. It would also be nice for swizzin to offer a way to do what I did with
qbtindex.conf
more easily, it took me a good dozen searches through file contents to actually find what to edit, though I don't know exactly where to request that...The text was updated successfully, but these errors were encountered: