File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ window.gui = async (options) => {
5050 options = options ?? { } ;
5151 // app_origin is deprecated, use gui_origin instead
5252 window . gui_params = options ;
53- window . gui_origin = `https://puter.com` ;
53+ window . gui_origin = options . gui_origin ?? options . app_origin ?? `https://puter.com` ;
5454 window . app_domain = options . app_domain ?? new URL ( window . gui_origin ) . hostname ;
5555 window . hosting_domain = options . hosting_domain ?? 'puter.site' ;
56- window . api_origin = "https://api.puter.com" ;
56+ window . api_origin = options . api_origin ?? "https://api.puter.com" ;
5757 window . max_item_name_length = options . max_item_name_length ?? 500 ;
5858 window . require_email_verification_to_publish_website = options . require_email_verification_to_publish_website ?? true ;
5959 window . disable_temp_users = options . disable_temp_users ?? false ;
You can’t perform that action at this time.
0 commit comments