commit 2b2790014eceab8cd4cb8f2688342597789bd1e9 parent 2f0517f7ac4e8bffdf3cf312d84809e03f729e51 Author: knutsen <samuel@knutsen.co> Date: Fri, 18 Jun 2021 18:03:34 +0100 Don't display protocol. Diffstat:
M | public/new.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/new.js b/public/new.js @@ -1,5 +1,5 @@ $('document').ready(() => { - $('.url').text(`${window.location.protocol}//${window.location.host}/poll/`) + $('.url').text(`${window.location.host}/poll/`) $('#create').submit(() => { $.ajax({