forked from Telodendria/Telodendria
[MOD] Declare versions v1.2-v1.6 alongside v1.7
This should increase compatibility with some clients still not supporting v1.7(like Nheko).
This commit is contained in:
parent
3c11d666c8
commit
e8b4ef135d
1 changed files with 6 additions and 2 deletions
|
@ -37,10 +37,14 @@ ROUTE_IMPL(RouteVersions, path, argp)
|
|||
(void) argp;
|
||||
|
||||
#define DECLARE_SPEC_VERSION(x) ArrayAdd(versions, JsonValueString(x))
|
||||
|
||||
DECLARE_SPEC_VERSION("v1.2");
|
||||
DECLARE_SPEC_VERSION("v1.3");
|
||||
DECLARE_SPEC_VERSION("v1.4");
|
||||
DECLARE_SPEC_VERSION("v1.5");
|
||||
DECLARE_SPEC_VERSION("v1.6");
|
||||
|
||||
/* The curently supported version. */
|
||||
DECLARE_SPEC_VERSION("v1.7");
|
||||
/* Declare additional spec version support here. */
|
||||
|
||||
#undef DECLARE_SPEC_VERSION
|
||||
|
||||
|
|
Loading…
Reference in a new issue