Add UA to WebDav requests. Close #308

This commit is contained in:
2025-03-30 18:27:52 +08:00
parent ec48dbef57
commit 6c179ceb95

View File

@@ -100,6 +100,7 @@ class DataSync with ChangeNotifier {
rhttp.ClientSettings(
proxySettings:
proxy == null ? null : rhttp.ProxySettings.proxy(proxy),
userAgent: "venera v${App.version}",
),
),
);
@@ -172,6 +173,7 @@ class DataSync with ChangeNotifier {
rhttp.ClientSettings(
proxySettings:
proxy == null ? null : rhttp.ProxySettings.proxy(proxy),
userAgent: "venera v${App.version}",
),
),
);