Joey

Results 13 comments of Joey

补充:手动刷新浏览器后又正常了

```html Document * { margin: 0; padding: 0; } body, html { width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.1); } .random { font-size: 80px; color: red; text-align: center;...

preload.js ``` const { contextBridge, ipcRenderer } = require('electron') contextBridge.exposeInMainWorld('ipcRenderer', ipcRenderer) window.ipcRenderer = ipcRenderer ```

main.js ```js const { app, shell, BrowserWindow, globalShortcut, ipcMain } = require('electron') const { join } = require('path') let mainWindow function createWindow() { mainWindow = new BrowserWindow({ width: 1200, height:...

> @rictt could you please put this in a [gist](https://gist.github.com/) for simplicity? sure, please click [here](https://gist.github.com/rictt/5a2fde1077782959cf5779f059c8e660)

tring replace client.int to client.Connect().

![image](https://github.com/erictik/midjourney-client/assets/39750025/aea6d985-0706-4388-9853-32619828ab30)

same problem with fetch failed.