mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-14 04:08:21 +00:00
Add SSL Score.
This commit is contained in:
parent
beb8af2506
commit
61ff19e3e3
@ -8,6 +8,7 @@
|
|||||||
<th>Instance Name</th>
|
<th>Instance Name</th>
|
||||||
<th>Instance Locations</th>
|
<th>Instance Locations</th>
|
||||||
<th>Has CDN?</th>
|
<th>Has CDN?</th>
|
||||||
|
<th>SSL Score</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody v-bind:key="instance.name" v-for="instance in instances">
|
<tbody v-bind:key="instance.name" v-for="instance in instances">
|
||||||
@ -15,6 +16,11 @@
|
|||||||
<td>{{ instance.name }}</td>
|
<td>{{ instance.name }}</td>
|
||||||
<td>{{ instance.locations }}</td>
|
<td>{{ instance.locations }}</td>
|
||||||
<td>{{ instance.cdn }}</td>
|
<td>{{ instance.cdn }}</td>
|
||||||
|
<td>
|
||||||
|
<a :href="sslScore(instance.apiurl)" target="_blank"
|
||||||
|
>Click Here</a
|
||||||
|
>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -79,6 +85,13 @@ export default {
|
|||||||
onChange() {
|
onChange() {
|
||||||
if (localStorage)
|
if (localStorage)
|
||||||
localStorage.setItem("instance", this.selectedInstance);
|
localStorage.setItem("instance", this.selectedInstance);
|
||||||
|
},
|
||||||
|
sslScore(url) {
|
||||||
|
return (
|
||||||
|
"https://www.ssllabs.com/ssltest/analyze.html?d=" +
|
||||||
|
new URL(url).host +
|
||||||
|
"&latest"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user