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