Skip to content

Commit

Permalink
fix(utils): wrong ToTokens impl of the window proxy_url config (#9691)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed May 7, 2024
1 parent 5529c5a commit a5205f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/fix-proxy-url-totokens-impl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:bug
---

Fixes the ToTokens implementation of the window configuration `proxy_url` field.
2 changes: 1 addition & 1 deletion core/tauri-utils/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a5205f1

Please sign in to comment.