1
0
silverbullet/desktop/preload.js

6 lines
129 B
JavaScript

const { contextBridge } = require("electron");
contextBridge.exposeInMainWorld("desktop", {
url: "http://localhost:3000",
});