feat: Add CORS
All checks were successful
Build Docker / Build Image (push) Successful in 42s

This commit is contained in:
Nathan Woodburn 2024-02-28 17:36:18 +11:00
parent 9e078387d8
commit ad95fe796b
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
flask
Flask-Cors
python-dotenv
gunicorn
requests

View File

@ -1,4 +1,5 @@
from flask import Flask, make_response, redirect, request, jsonify, render_template, send_from_directory
from flask_cors import CORS
import os
import dotenv
import requests
@ -6,6 +7,8 @@ import CloudFlare
import datetime
app = Flask(__name__)
CORS(app)
dotenv.load_dotenv()
address = ''