useless debug info

pull/35/head
hass-demacia 8 months ago
parent f36f14c3d0
commit ebed89215d

@ -13,7 +13,7 @@ listen_port = 5000
use_whitelist = True
# Whitelist CIDR
whitelist_cidr = ['127.0.0.1/32', '10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16']
whitelist_cidr = ['127.0.0.1/32', '10.0.0.0/8', '172.16.0.0/12']
# Blacklist CIDR
blacklist_cidr = []
@ -31,7 +31,7 @@ guess_threshold = 0.20
recent_pastes = 10
# Try to use X-Real-IP or X-Forwarded-For HTTP headers
behind_proxy = True
behind_proxy = False
# handle path while after reverse proxy,
handle_path = "pastey"

@ -43,7 +43,6 @@ def home():
@app.route("/new")
def new():
whitelisted = common.verify_whitelist(common.get_source_ip(request))
print("handle_path: " + common.handle_path(request))
return render_template("new.html",
whitelisted=whitelisted,
languages=supported_languages,

Loading…
Cancel
Save