Spaces:
BG5
/
Running

BG5 commited on
Commit
da61f39
·
verified ·
1 Parent(s): 1d166b6

Update dp.py

Browse files
Files changed (1) hide show
  1. dp.py +1 -1
dp.py CHANGED
@@ -15,7 +15,7 @@ co.set_user_agent(
15
  co.set_pref('credentials_enable_service', False)
16
  # 阻止“要恢复页面吗?Chrome未正确关闭”的提示气泡
17
  co.set_argument('--remote-debugging-address=0.0.0.0')
18
- co.set_argument('--remote-allow-origins=*')
19
  co.set_argument('--remote-debugging-port=9222')
20
  co.set_argument('--no-sandbox')
21
 
 
15
  co.set_pref('credentials_enable_service', False)
16
  # 阻止“要恢复页面吗?Chrome未正确关闭”的提示气泡
17
  co.set_argument('--remote-debugging-address=0.0.0.0')
18
+ co.set_argument('--remote-allow-origins=http://*,https://*')
19
  co.set_argument('--remote-debugging-port=9222')
20
  co.set_argument('--no-sandbox')
21