We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a71e27 commit 8e42dcaCopy full SHA for 8e42dca
packages/sdk-utils/src/lib/utils.js
@@ -1,6 +1,8 @@
1
function getSmartUIServerAddress() {
2
- if (!process.env.SMARTUI_SERVER_ADDRESS) throw new Error('SmartUI server address not found');
3
- return process.env.SMARTUI_SERVER_ADDRESS
+ if (!process.env.SMARTUI_SERVER_ADDRESS) {
+ return 'http://localhost:49152';
4
+ }
5
+ return process.env.SMARTUI_SERVER_ADDRESS;
6
}
7
8
module.exports = {
0 commit comments