mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 03:38:26 -07:00
Change API Version from V3 to V1
This commit is contained in:
parent
db10057f2c
commit
aae9f3cfc3
155 changed files with 248 additions and 248 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using Nancy;
|
||||
|
@ -102,7 +102,7 @@ namespace Lidarr.Http.Frontend.Mappers
|
|||
return string.Format("{0}=\"{1}{2}\"", match.Groups["attribute"].Value, URL_BASE, url);
|
||||
});
|
||||
|
||||
text = text.Replace("API_ROOT", URL_BASE + "/api/v3");
|
||||
text = text.Replace("API_ROOT", URL_BASE + "/api/v1");
|
||||
text = text.Replace("API_KEY", API_KEY);
|
||||
text = text.Replace("RELEASE", BuildInfo.Release);
|
||||
text = text.Replace("APP_VERSION", BuildInfo.Version.ToString());
|
||||
|
@ -116,4 +116,4 @@ namespace Lidarr.Http.Frontend.Mappers
|
|||
return _generatedContent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue