From 5c8124b623bc618a8a6730ce7653ae3a82222f18 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Mon, 15 Aug 2022 18:19:32 -0400 Subject: [PATCH] [O] Hide https --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 56b9216..79cf71b 100644 --- a/index.html +++ b/index.html @@ -119,7 +119,7 @@ const resp = await fetch('/', {method: 'PUT', body: url}) const txt = await resp.text() this.error = resp.status !== 200 - this.short = this.error ? txt : window.location.origin + txt + this.short = this.error ? txt : window.location.origin.replaceAll(/https?:\/\//, '') + txt // Copy to clipboard if (!this.error)