From 4540fe4b062f653fd904ffef0c597c42bf3dd99a Mon Sep 17 00:00:00 2001 From: Milky Date: Mon, 11 May 2026 20:41:24 +0100 Subject: [PATCH] Bump version to 3.1.1 and add CORS origins Update package __version__ to 3.1.1 and expand CORS allowlist to permit requests from three additional domains: https://listingslab.com/, https://ed-tech.co/, and https://notheretofuckspiders.art/. This enables these sites to access the API. --- app/__init__.py | 2 +- app/main.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index e5bccf4..5b837ed 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,5 +1,5 @@ """Python° - FastAPI, Postgres, tsvector""" # Current Version -__version__ = "3.1.0" +__version__ = "3.1.1" diff --git a/app/main.py b/app/main.py index 3928559..615dd53 100644 --- a/app/main.py +++ b/app/main.py @@ -26,6 +26,9 @@ "https://goldlabel.pro", "https://nx-admin.goldlabel.pro", "https://free.goldlabel.pro", + "https://listingslab.com/", + "https://ed-tech.co/", + "https://notheretofuckspiders.art/", ], allow_credentials=True, allow_methods=["*"],