fix: renderer
This commit is contained in:
1 parent
098a530876
commit
b71c0afb3a
4 files changed
+98
-11
No files matched your search
@@ -1,7 +1,7 @@
|
||||
const { contextBridge, ipcRenderer } = require('electron');
|
||||
const napcat = {
|
||||
getWebUiUrl: async () => {
|
||||
return ipcRenderer.invoke('napcat_get_webtoken');
|
||||
return ipcRenderer.invoke('napcat_get_webui');
|
||||
},
|
||||
openExternalUrl: async (url) => {
|
||||
ipcRenderer.send('open_external_url', url);
|
||||
|
||||
Reference in new issue
Block a user