1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 23:58:35 -06:00

Removed docker badge from README

This commit is contained in:
Sayantan Santra 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");