Skip to content

Commit 4f11aae

Browse files
authored
fix(devtools): pass local-network-access permission to drizzle studio embed
1 parent 289b279 commit 4f11aae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/devtools.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ export function addDevToolsCustomTabs(nuxt: Nuxt, hub: HubConfig) {
7777
view: isReady && port
7878
? {
7979
type: 'iframe',
80-
src: `https://local.drizzle.studio?port=${port}`
80+
src: `https://local.drizzle.studio?port=${port}`,
81+
permissions: ['local-network-access https://local.drizzle.studio']
8182
}
8283
: {
8384
type: 'launch',

0 commit comments

Comments
 (0)