Always return as version 1 as per spec
This commit is contained in:
parent
a1b131db36
commit
aaa28e9107
|
|
@ -43,7 +43,6 @@ app.MapGet("/api/v1/config", (HttpRequest request) =>
|
||||||
|
|
||||||
ConfigResponse config = new()
|
ConfigResponse config = new()
|
||||||
{
|
{
|
||||||
Version = 1,
|
|
||||||
Urls = new Urls
|
Urls = new Urls
|
||||||
{
|
{
|
||||||
SmallDownloadUrl = smallDownloadUrl.AbsoluteUri,
|
SmallDownloadUrl = smallDownloadUrl.AbsoluteUri,
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
public class ConfigResponse
|
public class ConfigResponse
|
||||||
{
|
{
|
||||||
public int Version { get; set; }
|
public int Version => 1;
|
||||||
public required Urls Urls { get; set; }
|
public required Urls Urls { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue