mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
Update index.html
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
2baf264aec
commit
8bfcdfe5a8
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue