From b1b91e94c0211cec8c6932a58d3cce520b853a72 Mon Sep 17 00:00:00 2001
From: zhom <2717306+zhom@users.noreply.github.com>
Date: Tue, 2 Dec 2025 00:06:54 +0400
Subject: [PATCH] chore: add permissions for webview
---
next-env.d.ts | 2 +-
src-tauri/capabilities/default.json | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/next-env.d.ts b/next-env.d.ts
index b87975d..9edff1c 100644
--- a/next-env.d.ts
+++ b/next-env.d.ts
@@ -1,6 +1,6 @@
///
///
-import "./dist/dev/types/routes.d.ts";
+import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json
index 768936e..56e9179 100644
--- a/src-tauri/capabilities/default.json
+++ b/src-tauri/capabilities/default.json
@@ -3,6 +3,7 @@
"identifier": "default",
"description": "enables the default permissions",
"windows": ["main"],
+ "webviews": ["main"],
"permissions": [
"core:default",
"core:event:allow-listen",