diff --git a/index.html b/index.html
index c41cce0..523aa4b 100644
--- a/index.html
+++ b/index.html
@@ -451,6 +451,10 @@
title:"Netinstall (CLI Linux)",
type:"netinstall_linux_cli"
},
+ {
+ title:"Changelog",
+ type:"changlog"
+ },
]
}
]
@@ -483,6 +487,10 @@
{
title:"Install image",
type:"install"
+ },
+ {
+ title:"Changelog",
+ type:"changlog"
}
]
}
@@ -610,7 +618,6 @@
files.push(`netinstall-${version}.zip`);
if(type === "netinstall_linux_cli")
files.push(`netinstall-${version}.tar.gz`);
-
return files;
};
@@ -643,30 +650,35 @@
| ${d.title} |
${download.versions.map(v => {
- const files = fileNames(v.version,g.arch,d.type);
- if (files && files.length > 0) {
- const links = files.map(file => {
- const url = `${baseUrl(v.version, g.arch)}${file}`;
- if (download.versions.length === 4 && d.type in {vhdx:1,vmdk:1,vdi:1,vhd:1,img:1,ova:1} ){
- if (v.version.charAt(0) === "6" ){
- return ` Legacy`;
-
- }else{
- if (file.includes("legacy-bios")){
- return ` Legacy`;
- }else{
- return ` UEFI`;
- }
- }
-
- }else{
- return ``;
- }
- }).join(" ");
- return `${links} | `;
- }else{
- return ` | `;
- }
+ if(d.type === "changlog"){
+ const url = "https://download.mikrotik.com/routeros/v.version/CHANGELOG"
+ return ``;
+ }else{
+ const files = fileNames(v.version,g.arch,d.type);
+ if (files && files.length > 0) {
+ const links = files.map(file => {
+ const url = `${baseUrl(v.version, g.arch)}${file}`;
+ if (download.versions.length === 4 && d.type in {vhdx:1,vmdk:1,vdi:1,vhd:1,img:1,ova:1} ){
+ if (v.version.charAt(0) === "6" ){
+ return ` Legacy`;
+
+ }else{
+ if (file.includes("legacy-bios")){
+ return ` Legacy`;
+ }else{
+ return ` UEFI`;
+ }
+ }
+
+ }else{
+ return ``;
+ }
+ }).join(" ");
+ return `${links} | `;
+ }else{
+ return ` | `;
+ }
+ }
}).join("")}
`;