mirror of
https://github.com/immich-app/immich.git
synced 2024-11-15 09:59:00 -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",
|
||||
"url": "https://1.106.1.archive.immich.app"
|
||||
"url": "https://v1.106.1.archive.immich.app"
|
||||
},
|
||||
{
|
||||
"label": "v1.105.1",
|
||||
|
@ -10,7 +10,7 @@ if (!lastVersion) {
|
||||
const filename = './docs/static/archived-versions.json';
|
||||
const oldVersions = JSON.parse(readFileSync(filename));
|
||||
const newVersions = [
|
||||
{ label: lastVersion, url: `https://${lastVersion}.archive.immich.app` },
|
||||
{ label: lastVersion, url: `https://v${lastVersion}.archive.immich.app` },
|
||||
...oldVersions,
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user