Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e5e30c90
authored
Jun 18, 2023
by
JustSong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: update README
parent
c54f70ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
README.md
+1
-1
No files found.
README.md
View file @
e5e30c90
...
...
@@ -238,7 +238,7 @@ graph LR
2.
`SESSION_SECRET`
:设置之后将使用固定的会话密钥,这样系统重新启动后已登录用户的 cookie 将依旧有效。
+
例子:
`SESSION_SECRET=random_string`
3.
`SQL_DSN`
:设置之后将使用指定数据库而非 SQLite,请使用 MySQL 8.0 版本。
+
例子:
`SQL_DSN=root:123456@tcp(localhost:3306)/one
-
api`
+
例子:
`SQL_DSN=root:123456@tcp(localhost:3306)/oneapi`
4.
`FRONTEND_BASE_URL`
:设置之后将使用指定的前端地址,而非后端地址。
+
例子:
`FRONTEND_BASE_URL=https://openai.justsong.cn`
5.
`SYNC_FREQUENCY`
:设置之后将定期与数据库同步配置,单位为秒,未设置则不进行同步。
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment