diff --git a/src/content/docs/plugin/opener.mdx b/src/content/docs/plugin/opener.mdx index e26f895d70..3850e4e3a2 100644 --- a/src/content/docs/plugin/opener.mdx +++ b/src/content/docs/plugin/opener.mdx @@ -90,7 +90,7 @@ await openPath('/path/to/file'); // opens a file using `vlc` command on Windows: await openPath('C:/path/to/file', 'vlc'); // opens a URL using the default program: -await openURL('https://tauri.app'); +await openUrl('https://tauri.app'); ```