Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions frontend/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# taobao npm registry mirror
registry = https://registry.npmmirror.com
legacy-peer-deps = true
3 changes: 0 additions & 3 deletions gpt_code_ui/main.py
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you disable webbrowser.open on purpose (for this PR)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, with this new env var set, webbrowser.open wont get the real address, any suggestion?

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import logging
import asyncio
import time
import webbrowser

from multiprocessing import Process

Expand Down Expand Up @@ -84,8 +83,6 @@ def main():
time.sleep(0.1)

print_banner()

webbrowser.open(APP_URL)

webapp_process.join()
kernel_program_process.join()
Expand Down