mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 18:08:48 -07:00
docs: fix archive version url to include v prefix (#10111)
* docs: fix archive version url to include v prefix * docs: fix archived versions to add missing v to 1.106.1
This commit is contained in:
parent
b5991c908e
commit
8a866297f7
2
docs/static/archived-versions.json
vendored
2
docs/static/archived-versions.json
vendored
@ -1,7 +1,7 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"label": "1.106.1",
|
"label": "1.106.1",
|
||||||
"url": "https://1.106.1.archive.immich.app"
|
"url": "https://v1.106.1.archive.immich.app"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "v1.105.1",
|
"label": "v1.105.1",
|
||||||
|
@ -10,7 +10,7 @@ if (!lastVersion) {
|
|||||||
const filename = './docs/static/archived-versions.json';
|
const filename = './docs/static/archived-versions.json';
|
||||||
const oldVersions = JSON.parse(readFileSync(filename));
|
const oldVersions = JSON.parse(readFileSync(filename));
|
||||||
const newVersions = [
|
const newVersions = [
|
||||||
{ label: lastVersion, url: `https://${lastVersion}.archive.immich.app` },
|
{ label: lastVersion, url: `https://v${lastVersion}.archive.immich.app` },
|
||||||
...oldVersions,
|
...oldVersions,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user