Fix antiproxying (again).
Fuck it, just hardcode it. They rewrite certain parts of our markup so we can't rely on anything in the html.
This commit is contained in:
@@ -120,7 +120,6 @@
|
||||
window.Danbooru = {};
|
||||
}
|
||||
|
||||
window.Danbooru.config = <%= [:hostname, :domain, :enable_antiproxying?].map { |opt| [opt, Danbooru.config.send(opt)] }.to_h.to_json.html_safe %>;
|
||||
window.Danbooru.notice = Danbooru.Utility.notice;
|
||||
window.Danbooru.error = Danbooru.Utility.error;
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user