mirror of
https://github.com/mizhexiaoxiao/vue-fastapi-admin.git
synced 2026-09-20 20:49:51 +00:00
Update
This commit is contained in:
@@ -6,8 +6,8 @@ from pydantic import BaseSettings
|
||||
|
||||
class Settings(BaseSettings):
|
||||
VERSION: str = "0.1.0"
|
||||
APP_TITLE: str = "Template Application"
|
||||
PROJECT_NAME: str = "Template Application"
|
||||
APP_TITLE: str = "Vue FastAPI Admin"
|
||||
PROJECT_NAME: str = "Vue FastAPI Admin"
|
||||
APP_DESCRIPTION: str = "Description"
|
||||
|
||||
CORS_ORIGINS: typing.List = ["*"]
|
||||
@@ -36,7 +36,7 @@ class Settings(BaseSettings):
|
||||
LOGS_ROOT: str = os.path.join(BASE_DIR, "app/logs")
|
||||
SECRET_KEY: str = "3488a63e1765035d386f05409663f55c83bfae3b3c61a932744b20ad14244dcf" # openssl rand -hex 32
|
||||
JWT_ALGORITHM: str = "HS256"
|
||||
JWT_ACCESS_TOKEN_EXPIRE_MINUTES: int = 60 # 7 day
|
||||
JWT_ACCESS_TOKEN_EXPIRE_MINUTES: int = 60 * 24 * 7 # 7 day
|
||||
TORTOISE_ORM = {
|
||||
"connections": {
|
||||
"sqlite": {
|
||||
|
||||
Reference in New Issue
Block a user