Skip to content

Commit a5205f1

Browse files
authored
fix(utils): wrong ToTokens impl of the window proxy_url config (#9691)
1 parent 5529c5a commit a5205f1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-utils": patch:bug
3+
---
4+
5+
Fixes the ToTokens implementation of the window configuration `proxy_url` field.

‎core/tauri-utils/src/config.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,7 @@ mod build {
22432243
let minimizable = self.minimizable;
22442244
let closable = self.closable;
22452245
let title = str_lit(&self.title);
2246-
let proxy_url = opt_str_lit(self.proxy_url.as_ref());
2246+
let proxy_url = opt_lit(self.proxy_url.as_ref().map(url_lit).as_ref());
22472247
let fullscreen = self.fullscreen;
22482248
let focus = self.focus;
22492249
let transparent = self.transparent;

0 commit comments

Comments
 (0)