Skip to content

Commit 9cead32

Browse files
committed
format
1 parent 6ce6fa2 commit 9cead32

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

src/content/docs/security/capabilities.mdx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,14 @@ all subdomains of `tauri.app`.
145145

146146
```json title="src-tauri/capabilities/remote-tags.json"
147147
{
148-
"$schema": "./schemas/remote-schema.json",
149-
"identifier": "remote-tag-capability",
150-
"windows": ["main"],
151-
"remote": {
152-
"urls": ["https://*.tauri.app"]
153-
},
154-
"platforms": ["iOS", "android"],
155-
"permissions": [
156-
"nfc:allow-scan",
157-
"barcode-scanner:allow-scan"
158-
]
148+
"$schema": "./schemas/remote-schema.json",
149+
"identifier": "remote-tag-capability",
150+
"windows": ["main"],
151+
"remote": {
152+
"urls": ["https://*.tauri.app"]
153+
},
154+
"platforms": ["iOS", "android"],
155+
"permissions": ["nfc:allow-scan", "barcode-scanner:allow-scan"]
159156
}
160157
```
161158

0 commit comments

Comments
 (0)