Skip to content

Commit

Permalink
feat: 加强了文件安全
Browse files Browse the repository at this point in the history
  • Loading branch information
GaiZhenbiao committed Nov 16, 2023
1 parent b5980ba commit 37c30be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChuanhuChatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ def create_greeting(request: gr.Request):
if __name__ == "__main__":
reload_javascript()
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
blocked_paths=["config.json"],
allowed_paths=["history", "web_assets"],
server_name=server_name,
server_port=server_port,
share=share,
Expand Down

0 comments on commit 37c30be

Please sign in to comment.