mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-08 06:54:18 +00:00
Add local to url
This commit is contained in:
1 parent
c9e8207e4b
commit
916e1bb95c
1 file changed
+3
@@ -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 ?? {}));
|
||||
|
||||
|
||||
Reference in new issue
Block a user