Commit d81266a
authored
Configure ureq to use platform-verifier for web assets (#20825)
# Objective
- Fixes #20803
- See issue for motivations on this change
## Solution
- Use ureq's `platform-verifier` feature and enable it in the agent
config.
I've gone the simple route and made this non-configurable, for now at
least.
The downside of this change is that you can longer use webpki-roots but
if bevy only supports one certificate verification method then I think
platform-verifier is the more sensible option.
## Testing
- Tested the web_asset example on Windows and macOS1 parent 42d41e3 commit d81266a
2 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
144 | 154 | | |
145 | 155 | | |
146 | 156 | | |
| |||
0 commit comments