tauri-security-asset-protocol

SKILLWorkflowcommunauté
v0.0.0stuffbucketMITMis à jour il y a 16 jSource →

Use when serving local files into a Tauri v2 WebView — enabling `app.security.assetProtocol`, scoping which paths it exposes, using `convertFileSrc` to produce `asset://` / `https://asset.localhost` URLs, the matching CSP `img-src`/`media-src` directives, persisting user-picked paths with `tauri-plu

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
4Étoiles du dépôt
1Clients
1Formats
il y a 16 jDernière mise à jour
Skill
Auteurstuffbucket
Version0.0.0
LicenceMIT
CatégorieWorkflow
Formatsskill.md
PromptNon publié
Compatibilité
Claude✓ Pris en charge
Cursor
Copilot
ChatGPT
Gemini
À propos

Use when serving local files into a Tauri v2 WebView — enabling `app.security.assetProtocol`, scoping which paths it exposes, using `convertFileSrc` to produce `asset://` / `https://asset.localhost` URLs, the matching CSP `img-src`/`media-src` directives, persisting user-picked paths with `tauri-plugin-persisted-scope` (`protocol-asset` feature), and choosing the asset protocol over base64-via-com

Mots-clés
skillclaude