refactor: centralize app version

This commit is contained in:
Lan
2026-06-03 12:22:12 +08:00
parent 6a2006085c
commit 0eb9adf8fd
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
APP_VERSION = "2.0.0-dev"
+1 -2
View File
@@ -24,8 +24,7 @@ from core.response import APIResponse
from core.settings import settings, BASE_DIR, DEFAULT_CONFIG
from core.tasks import delete_expire_files, clean_incomplete_uploads
from core.utils import hash_password, is_password_hashed
APP_VERSION = "2.0.0-dev"
from core.version import APP_VERSION
def build_public_config() -> dict: