mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
Add tombi and plugin JSON schema config (#1062)
* Add tombi and plugin JSON schema config * Add tombi lint
This commit is contained in:
@@ -10,8 +10,8 @@ database = ["mysql", "postgresql"]
|
||||
router = ["v1"]
|
||||
|
||||
[settings]
|
||||
EMAIL_CAPTCHA_EXPIRE_SECONDS = 180 # 3 分钟
|
||||
EMAIL_CAPTCHA_REDIS_PREFIX = "fba:email:captcha"
|
||||
EMAIL_HOST = "smtp.qq.com"
|
||||
EMAIL_PORT = 465
|
||||
EMAIL_SSL = true
|
||||
EMAIL_CAPTCHA_REDIS_PREFIX = "fba:email:captcha"
|
||||
EMAIL_CAPTCHA_EXPIRE_SECONDS = 180 # 3 分钟
|
||||
|
||||
@@ -10,9 +10,9 @@ database = ["mysql", "postgresql"]
|
||||
router = ["v1"]
|
||||
|
||||
[settings]
|
||||
OAUTH2_STATE_REDIS_PREFIX = "fba:oauth2:state"
|
||||
OAUTH2_STATE_EXPIRE_SECONDS = 180 # 3 分钟
|
||||
OAUTH2_FRONTEND_BINDING_REDIRECT_URI = "http://localhost:5173/profile"
|
||||
OAUTH2_FRONTEND_LOGIN_REDIRECT_URI = "http://localhost:5173/oauth2/callback"
|
||||
OAUTH2_GITHUB_REDIRECT_URI = "http://127.0.0.1:8000/api/v1/oauth2/github/callback"
|
||||
OAUTH2_GOOGLE_REDIRECT_URI = "http://127.0.0.1:8000/api/v1/oauth2/google/callback"
|
||||
OAUTH2_FRONTEND_LOGIN_REDIRECT_URI = "http://localhost:5173/oauth2/callback"
|
||||
OAUTH2_FRONTEND_BINDING_REDIRECT_URI = "http://localhost:5173/profile"
|
||||
OAUTH2_STATE_EXPIRE_SECONDS = 180 # 3 分钟
|
||||
OAUTH2_STATE_REDIS_PREFIX = "fba:oauth2:state"
|
||||
|
||||
Reference in New Issue
Block a user