Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
增加ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoXinYo committed May 29, 2023
1 parent 1f92abb commit 7b03517
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# -*- coding: utf-8 -*-
# Author: XiaoXinYo

HOST = '0.0.0.0' # 监听地址
PORT = 5000 # 监听端口
HOST = '0.0.0.0' # 地址
PORT = 5000 # 端口
SSL = {
'enable': False, # 启用SSL
'keyPath': '', # SSL Key路径
'certPath': '' # SSL Cert路径
}

PROXY = '' # 代理

CHATGPT_KEY = '' # ChatGPT密钥
CHATGPT_KEY = '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' # ChatGPT密钥

TOKEN_USE_MAX_TIME_INTERVAL = 30 # Token使用最大时间间隔(分钟),超过此时间未使用将被删除

Expand Down

0 comments on commit 7b03517

Please sign in to comment.