mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-25 01:49:18 +01:00
fix: Use AssemblyVersion for UserAgent header (#1974)
- Fixes a bug with local builds not being able to make HTTP requests
This commit is contained in:
parent
8c593bc31d
commit
79971fc8d6
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ internal class HappyHttpClient : IInternalDisposableService
|
||||||
{
|
{
|
||||||
UserAgent =
|
UserAgent =
|
||||||
{
|
{
|
||||||
new ProductInfoHeaderValue("Dalamud", Util.GetScmVersion()),
|
new ProductInfoHeaderValue("Dalamud", Util.AssemblyVersion),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ internal class PluginRepository
|
||||||
},
|
},
|
||||||
UserAgent =
|
UserAgent =
|
||||||
{
|
{
|
||||||
new ProductInfoHeaderValue("Dalamud", Util.GetScmVersion()),
|
new ProductInfoHeaderValue("Dalamud", Util.AssemblyVersion),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue