Fix: Changed syncthing access and auth scheme
This commit is contained in:
@@ -43,8 +43,8 @@ data:
|
||||
sub_filter '"/vendor' '"/nas/vendor';
|
||||
sub_filter '"/theme-assets' '"/nas/theme-assets';
|
||||
sub_filter '"/syncthing' '"/nas/syncthing';
|
||||
# Add back button before logo
|
||||
sub_filter '<img class="logo hidden-xs"' '<a href="/" class="btn btn-sm btn-default" style="margin-right: 10px; vertical-align: middle;">← Back</a><img class="logo hidden-xs"';
|
||||
# Add floating back button
|
||||
sub_filter '<body>' '<body><div style="position: fixed; top: 10px; left: 10px; z-index: 9999;"><a href="/" style="background: #0078e7; color: white; padding: 8px 16px; border-radius: 4px; text-decoration: none; display: inline-block; box-shadow: 0 2px 4px rgba(0,0,0,0.2);">← Back to Instances</a></div>';
|
||||
sub_filter_once off;
|
||||
sub_filter_types text/html text/css application/javascript;
|
||||
}
|
||||
@@ -74,8 +74,8 @@ data:
|
||||
sub_filter '"/vendor' '"/master/vendor';
|
||||
sub_filter '"/theme-assets' '"/master/theme-assets';
|
||||
sub_filter '"/syncthing' '"/master/syncthing';
|
||||
# Add back button before logo
|
||||
sub_filter '<img class="logo hidden-xs"' '<a href="/" class="btn btn-sm btn-default" style="margin-right: 10px; vertical-align: middle;">← Back</a><img class="logo hidden-xs"';
|
||||
# Add floating back button
|
||||
sub_filter '<body>' '<body><div style="position: fixed; top: 10px; left: 10px; z-index: 9999;"><a href="/" style="background: #0078e7; color: white; padding: 8px 16px; border-radius: 4px; text-decoration: none; display: inline-block; box-shadow: 0 2px 4px rgba(0,0,0,0.2);">← Back to Instances</a></div>';
|
||||
sub_filter_once off;
|
||||
sub_filter_types text/html text/css application/javascript;
|
||||
}
|
||||
@@ -105,8 +105,8 @@ data:
|
||||
sub_filter '"/vendor' '"/iris/vendor';
|
||||
sub_filter '"/theme-assets' '"/iris/theme-assets';
|
||||
sub_filter '"/syncthing' '"/iris/syncthing';
|
||||
# Add back button before logo
|
||||
sub_filter '<img class="logo hidden-xs"' '<a href="/" class="btn btn-sm btn-default" style="margin-right: 10px; vertical-align: middle;">← Back</a><img class="logo hidden-xs"';
|
||||
# Add floating back button
|
||||
sub_filter '<body>' '<body><div style="position: fixed; top: 10px; left: 10px; z-index: 9999;"><a href="/" style="background: #0078e7; color: white; padding: 8px 16px; border-radius: 4px; text-decoration: none; display: inline-block; box-shadow: 0 2px 4px rgba(0,0,0,0.2);">← Back to Instances</a></div>';
|
||||
sub_filter_once off;
|
||||
sub_filter_types text/html text/css application/javascript;
|
||||
}
|
||||
|
Reference in New Issue
Block a user