old_contents: from flask import render_template, request, Blueprint
  
  BLUEPRINT = Blueprint('deadspace', __name__)
  
  @BLUEPRINT.before_app_request
  def deadspace():
      if not request.path.startswith('/static'):
          return render_template('deadspace.html')
  
new_contents: from flask import render_template, request, Blueprint
  
  BLUEPRINT = Blueprint('deadspace', __name__)
  
  @BLUEPRINT.before_app_request
  def deadspace():
      if not request.path.startswith('/static'):
          return render_template('deadspace.html'), 404
  
subject: return 404 on space that does not exist