forked from username/flaskpaste
bump version to 1.1.0, centralize VERSION constant
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user