master #22
@@ -4623,16 +4623,17 @@ span.placeholder {
|
|||||||
transition: right 0.3s ease-in-out;
|
transition: right 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sidebar hidden — reclaim the full width */
|
|
||||||
body.sidebar-right-hidden .pagination-container-fluid {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Modern layout: wider sidebar needs wider offset */
|
/* Modern layout: wider sidebar needs wider offset */
|
||||||
body.layout-modern .pagination-container-fluid {
|
body.layout-modern .pagination-container-fluid {
|
||||||
right: 400px;
|
right: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sidebar hidden — reclaim the full width */
|
||||||
|
body.sidebar-right-hidden .pagination-container-fluid,
|
||||||
|
body.layout-modern.sidebar-right-hidden .pagination-container-fluid {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.bottom-pagination.fixed-pagination {
|
.bottom-pagination.fixed-pagination {
|
||||||
margin: 10px auto;
|
margin: 10px auto;
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
|
|||||||
@@ -457,8 +457,8 @@ process.on('uncaughtException', err => {
|
|||||||
// Encourage connection reuse — helps external tools like ShareX avoid repeated TCP/TLS handshakes
|
// Encourage connection reuse — helps external tools like ShareX avoid repeated TCP/TLS handshakes
|
||||||
res.setHeader('Connection', 'keep-alive');
|
res.setHeader('Connection', 'keep-alive');
|
||||||
|
|
||||||
// Tor Onion-Location header: advertises .onion service counterpart to Tor Browser users
|
// Tor Onion-Location header: advertises .onion service counterpart to Tor Browser users when enabled
|
||||||
if (cfg.main.onion && !req.headers['host']?.endsWith('.onion')) {
|
if (cfg.websrv?.enable_tor_hs !== false && cfg.main?.onion && !req.headers['host']?.endsWith('.onion')) {
|
||||||
const p = req.url?.pathname || '/';
|
const p = req.url?.pathname || '/';
|
||||||
const s = req.url?.search || '';
|
const s = req.url?.search || '';
|
||||||
const onionHost = cfg.main.onion.replace(/\/+$/, '');
|
const onionHost = cfg.main.onion.replace(/\/+$/, '');
|
||||||
|
|||||||
Reference in New Issue
Block a user