-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
catch invalid refresh token exception
- Loading branch information
StageGuard
committed
Jul 1, 2024
1 parent
856d329
commit 37a05f1
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
server: | ||
port: 5000 | ||
shiro: | ||
ws: | ||
server: | ||
enable: true | ||
url: "/ws/shiro" | ||
qq: 202746796 # 为这个 BOT 启用插件 | ||
database: | ||
address: localhost # 数据库地址 | ||
port: 3306 # 端口 | ||
user: root # 账号 | ||
password: testpwd # 密码 | ||
table: obmsug # 数据库名称(在准备工作第一步创建的数据库) | ||
maximumPoolSize: 10 | ||
clientProxy: '' | ||
osuAuth: | ||
clientId: 8509 # OAuth clientId | ||
secret: 'Pw62qscOyPgnfQIJSv7awxeNQnYSQcowO1p3Pz4G' # OAuth client secret | ||
# 回调地址,必须和 OAuth 设置的相同(不包含 /authCallback) | ||
# 注意这个地址是为了生成绑定账号的 OAuth 链接。 | ||
authCallbackBaseUrl: 'http://localhost:8081' | ||
v1ApiKey: '8c515a93e53b27a719b891b316c40e240cca29d7' # vi api 密钥 | ||
frontend: | ||
host: localhost # 前端主机地址,注意这个地址是实际主机地址 | ||
port: 8081 # 前端端口 |