Removed docker badge from README

This commit is contained in:
SinTan1729 2022-11-12 18:45:17 -06:00
parent 8956519a10
commit 9f68f2632f
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,3 @@
[![Docker Pulls](https://img.shields.io/docker/pulls/sintan1729/simply-shorten?style=for-the-badge)](https://hub.docker.com/r/sintan1729/simply-shorten)
# ![Logo](src/main/resources/public/assets/favicon-32.png) <span style="font-size:42px">Simply Shorten</span>
# What is it?

View File

@ -26,7 +26,9 @@ const refreshData = async () => {
const displayData = async (data) => {
let site = await getSiteUrl();
if (window.isSecureContext) {
site = site.replace(/(^\w+:|^)\/\//, '');
}
table_box = document.querySelector(".pure-table");
if (data.length == 0) {
table_box.style.visibility = "hidden";
@ -97,7 +99,7 @@ const addProtocol = (input) => {
const A_LONG = (s) => `<a href='${s}'>${s}</a>`;
const A_SHORT = (s, t) => `<a href="javascript:copyShortUrl('${s}');">${t}/${s}</a>`;
const A_SHORT_INSECURE = (s, t) => `<a href="/${s}">${t}/${s}</a>`;
const A_SHORT_INSECURE = (s, t) => `<a href="${t}/${s}">${t}/${s}</a>`;
const deleteButton = (shortUrl) => {
const td = document.createElement("td");