from flask import render_template
from . import main


@main.app_errorhandler(404)
def page_not_found(e):
    return render_template("404.html"), 404

@@ -136,15 +136,79 @@
 04.html%22
+,%0A                           **main.config%5B'BASE_TEMPLATE_DATA'%5D
 ), 404%0A

Fix 404 page template static resources