Skip to content

Commit 42285c3

Browse files
committed
Fix minor compile issue on Linux
1 parent f2ac45b commit 42285c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/InterSpecServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ std::string file_to_open_on_load( const std::string &session_token )
964964
const Wt::Json::Value &val = base.get( "ProxySetting" );
965965
if( val.type() != Wt::Json::Type::StringType )
966966
throw runtime_error( "ProxySetting must be a string value" );
967-
config.m_proxy = val.toString();
967+
config.m_proxy = val.orIfNull("");
968968
}
969969
#endif
970970

target/electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"cmake-js": "^6.1.0"
2626
},
2727
"devDependencies": {
28-
"electron": "^21.4.3",
28+
"electron": "^21.4.4",
2929
"electron-packager": "^17.1.1",
3030
"node-addon-api": "^6.0.0"
3131
}

0 commit comments

Comments
 (0)