mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 20:02:03 +02:00
fix: move debug mode to config (#3324)
* fix: move debug mode to config * fix: also move debug_whitelist to .ini config * fix: move logic back to Debug class * docs * docs * fix: disable debug mode by default * fix: restore previous behavior for alerts * fix: center-align alert text
This commit is contained in:
@@ -4,20 +4,6 @@
|
||||
document.addEventListener('DOMContentLoaded', rssbridge_list_search);
|
||||
</script>
|
||||
|
||||
<?php if (Debug::isEnabled()): ?>
|
||||
<?php if (!Debug::isSecure()): ?>
|
||||
<section class="critical-warning">
|
||||
Warning : Debug mode is active from any location,
|
||||
make sure only you can access RSS-Bridge.
|
||||
</section>
|
||||
<?php else: ?>
|
||||
<section class="warning">
|
||||
Warning : Debug mode is active from your IP address,
|
||||
your requests will bypass the cache.
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<section class="searchbar">
|
||||
<h3>Search</h3>
|
||||
<input
|
||||
|
Reference in New Issue
Block a user