bump version to 1.1.0, centralize VERSION constant

This commit is contained in:
Username
2025-12-20 04:21:06 +01:00
parent ccfd8509cc
commit c76a158c18
5 changed files with 11 additions and 5 deletions

View File

@@ -11,6 +11,7 @@ import time
from flask import Response, current_app, request
from app.api import bp
from app.config import VERSION
from app.database import check_content_hash, get_db
# Valid paste ID pattern (hexadecimal only)
@@ -275,7 +276,7 @@ def index():
return _json_response(
{
"name": "FlaskPaste",
"version": "1.0.0",
"version": VERSION,
"endpoints": {
"GET /": "API information",
"GET /health": "Health check",