From b77524af4ab10878c7276adab3b584acaaf75de3 Mon Sep 17 00:00:00 2001 From: Milky Date: Tue, 12 May 2026 09:42:01 +0100 Subject: [PATCH] Bump version and add local CORS origins Bump package version from 3.1.2 to 3.1.3 and add two additional local development origins (http://localhost:1998, http://localhost:1975) to CORSMiddleware allow_origins so those ports can access the API during development. --- app/__init__.py | 2 +- app/main.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index ca73c1c..1a00f3c 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,5 +1,5 @@ """Python° - FastAPI, Postgres, tsvector""" # Current Version -__version__ = "3.1.2" +__version__ = "3.1.3" diff --git a/app/main.py b/app/main.py index fde0e02..5dcad57 100644 --- a/app/main.py +++ b/app/main.py @@ -20,6 +20,8 @@ CORSMiddleware, allow_origins=[ "http://localhost:1999", + "http://localhost:1998", + "http://localhost:1975", "http://localhost:1980", "http://localhost:2027", "http://localhost:2020",