From 70f3c68da801bc3509123bad5d25d4f107de7fc2 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Fri, 19 Jan 2024 15:23:31 -0500 Subject: fix url --- index.html | 4 ++-- static/script.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index a028081..6db352d 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@

The phantasmagoric sorcerer Roseacrucis has bewitched the Library’s revered fine arts collection: each - painting’s color has been randomized. Your task is to recover + painting’s colors have been randomized. Your task is to recover the originals.

@@ -44,7 +44,7 @@ - + diff --git a/static/script.js b/static/script.js index 4dfd3c6..b62d034 100644 --- a/static/script.js +++ b/static/script.js @@ -204,7 +204,7 @@ document.onload = load(); document.getElementById('score-game').addEventListener('click', function(evt) { var s = score(); - var imageUrl = location.protocol + '//' + location.host + location.pathname + getImgUrl(globalId) + var imageUrl = location.protocol + '//' + location.host + getImgUrl(globalId) var lensUrl = `https://www.google.com/searchbyimage?image_url=${imageUrl}&client=app` document.getElementById('scoring').innerHTML = `

You were ${s} points away from zero.

This work is by ${getArtist(globalId)}.

` -- cgit v1.2.3