mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-26 15:09:15 -06:00
Add local to url
This commit is contained in:
@@ -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