-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[v2]Uncaught (in promise) missing Origin header #9454
Copy link
Copy link
Open
Labels
type: documentationNeed to update the API documentationNeed to update the API documentation
Description
i use this code to show a window:
import {WebviewWindow} from "@tauri-apps/api/webviewWindow";
async function handleKeydown(){
const appWindow = WebviewWindow.getByLabel('tool')
console.log(appWindow);
console.log(appWindow?.window);
console.log(await appWindow?.isVisible())
// await appWindow?.show()
}but encounter some problem:
_WebviewWindow {label: 'tool', listeners: {…}}
POST http://ipc.localhost/plugin%3Awindow%7Cis_visible 400 (Bad Request)
:1420/#/CandleChart:1 Uncaught (in promise) missing Origin header

I am a beginner in the front-end, and I am not sure if it is because tauri is not properly configured or just because of a front-end issue.
I have reviewed the documentation and issue, but did not find any similar issues, so how should I solve them?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: documentationNeed to update the API documentationNeed to update the API documentation