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",