Add local to url

This commit is contained in:
Xiayucheng1212 committed 2024-04-24 16:40:42 +08:00
1 parent c9e8207e4b
commit 916e1bb95c
1 file changed
+3
+3
View File
@@ -1756,6 +1756,9 @@ window.launch_app = async (options)=>{
}
}
// Add locale to URL
iframe_url.searchParams.append('puter.locale', window.locale);
// Add options.args to URL
iframe_url.searchParams.append('puter.args', JSON.stringify(options.args ?? {}));