p2pix explicit CORS origin

This commit is contained in:
hueso
2026-06-02 20:05:56 -03:00
parent cb71431e20
commit 95c65836c5

View File

@@ -17,7 +17,7 @@ from eth_utils import to_wei
load_dotenv()
app = Flask(__name__)
CORS(app)
CORS(app, origins=['https://p2pix.co'])
api = Api(app)
class BBPay(Resource):