Skip to content

Commit

Permalink
Update ARCtrl dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Jul 12, 2024
1 parent af18101 commit c893b49
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"@fslab/fsspreadsheet": "^6.2.0",
"@imengyu/vue3-context-menu": "^1.3.5",
"@nfdi4plants/arctrl": "^2.0.0-beta.2",
"@nfdi4plants/arctrl": "^2.0.0-beta.8",
"@nfdi4plants/exceljs": "0.2.0",
"@quasar/extras": "^1.16.9",
"chokidar": "^3.5.3",
Expand Down
6 changes: 6 additions & 0 deletions packages/main/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ const initCore = async () => {
ipcMain.handle('CORE.getVersion', ()=>app.getVersion());
}

/**
* Do this to allow swate hosting with https
*/
if (!app.isPackaged)
app.commandLine.appendSwitch('ignore-certificate-errors');

/**
* Create app window when background process will be ready
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/src/views/SwateView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const init = async ()=>{
console.log('init');
iProps.loading = true;
iframe.value.setAttribute("src", "https://swate-alpha.nfdi4plants.org?is_swatehost=1&random="+SwateControlService.props.cacheNumber);
// iframe.value.setAttribute("src", "http://localhost:3000?is_swatehost=1&random="+SwateControlService.props.cacheNumber);
// iframe.value.setAttribute("src", "https://localhost:3000?is_swatehost=1&random="+SwateControlService.props.cacheNumber);
};
onMounted(() => {
Expand Down

0 comments on commit c893b49

Please sign in to comment.