ionian/packages/server/preload.ts

8 lines
257 B
TypeScript
Raw Normal View History

2024-03-26 23:58:26 +09:00
// import { contextBridge, ipcRenderer } from "electron";
// contextBridge.exposeInMainWorld("electron", {
// passwordReset: async (username: string, toPw: string) => {
// return await ipcRenderer.invoke("reset_password", username, toPw);
// },
// });