from flask import Flask, request, send_from_directory import os app = Flask(__name__) @app.route('/cors/') def cors_enabled(status): return 'Success!' if __name__ == "__main__": app.run(host='127.0.0.1', port=8080, debug=True)