Skip to content

Commit 773ef13

Browse files
add default smartui server address
1 parent 0b15034 commit 773ef13

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
import os
22

33
def get_smart_ui_server_address():
4-
if not os.getenv('SMARTUI_SERVER_ADDRESS'):
5-
raise Exception('SmartUI server address not found')
6-
return os.getenv('SMARTUI_SERVER_ADDRESS')
7-
8-
4+
return os.getenv('SMARTUI_SERVER_ADDRESS', 'http://localhost:49152')

0 commit comments

Comments
 (0)