mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-07-14 19:10:28 +03:00
fix(utils): wrong ToTokens impl of the window proxy_url config (#9691)
This commit is contained in:
parent
5529c5ab69
commit
a5205f179e
5
.changes/fix-proxy-url-totokens-impl.md
Normal file
5
.changes/fix-proxy-url-totokens-impl.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-utils": patch:bug
|
||||
---
|
||||
|
||||
Fixes the ToTokens implementation of the window configuration `proxy_url` field.
|
@ -2243,7 +2243,7 @@ mod build {
|
||||
let minimizable = self.minimizable;
|
||||
let closable = self.closable;
|
||||
let title = str_lit(&self.title);
|
||||
let proxy_url = opt_str_lit(self.proxy_url.as_ref());
|
||||
let proxy_url = opt_lit(self.proxy_url.as_ref().map(url_lit).as_ref());
|
||||
let fullscreen = self.fullscreen;
|
||||
let focus = self.focus;
|
||||
let transparent = self.transparent;
|
||||
|
Loading…
Reference in New Issue
Block a user