Remastered Startup.

This commit is contained in:
2026-08-08 20:27:12 +08:00
commit fa75081d4d
107 changed files with 21665 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import os
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY') or 'yrtv-secret-key-dev'
BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
DB_L2_PATH = os.path.join(BASE_DIR, 'database', 'L2', 'L2.db')
DB_L3_PATH = os.path.join(BASE_DIR, 'database', 'L3', 'L3.db')
DB_WEB_PATH = os.path.join(BASE_DIR, 'database', 'Web', 'Web_App.sqlite')
ADMIN_TOKEN = 'jackyyang0929'
# Pagination
ITEMS_PER_PAGE = 20