Skip to content

Commit

Permalink
fix: init error
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Nov 2, 2022
1 parent 2a6dc8a commit 0e32e46
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export class WebService {
private settingService: SettingService,
private electronService: ElectronService
) {
this.settingService.putSettings({'eoapi-common.remoteServer.url':window.location.origin});
if (this.isWeb) {
this.settingService.putSettings({ 'eoapi-common.remoteServer.url': window.location.origin });
}
this.getClientResource();
}
private findLinkInSingleAssets(assets, item) {
Expand Down

0 comments on commit 0e32e46

Please sign in to comment.