mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +00:00
Update index.html
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
2baf264aec
commit
8bfcdfe5a8
@ -651,8 +651,7 @@
|
|||||||
<td>${d.title}</td>
|
<td>${d.title}</td>
|
||||||
${download.versions.map(v => {
|
${download.versions.map(v => {
|
||||||
if(d.type === "changlog"){
|
if(d.type === "changlog"){
|
||||||
const url = "https://download.mikrotik.com/routeros/v.version/CHANGELOG"
|
return `<td><a href="https://download.mikrotik.com/routeros/${v.version}/CHANGELOG" class="download-btn" title="${d.title}" target="_blank"><i class="fa fa-file-text"></i></a></td>`;
|
||||||
return `<td><a href="${url}" class="download-btn" title="${d.title}" target="_blank"><i class="fa fa-file-text"></i></a></td>`;
|
|
||||||
}else{
|
}else{
|
||||||
const files = fileNames(v.version,g.arch,d.type);
|
const files = fileNames(v.version,g.arch,d.type);
|
||||||
if (files && files.length > 0) {
|
if (files && files.length > 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user