From e3b6658a482178ba8bde5ccdef651890a6d2899d Mon Sep 17 00:00:00 2001 From: SantaHey <33598903+SantaHey@users.noreply.github.com> Date: Thu, 13 May 2021 13:09:17 +0200 Subject: [PATCH] Update Game.js Invert slash direction to clear "Failed to load resource: net::ERR_FILE_NOT_FOUND" errors --- src/js/Game.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/Game.jsx b/src/js/Game.jsx index ae94684..4405cb5 100644 --- a/src/js/Game.jsx +++ b/src/js/Game.jsx @@ -84,7 +84,8 @@ class Game extends React.Component { if (!imageURI) { return false; } - + + imageURI=imageURI.replace(/\\/g, "/") return `${imageURI}?${(new Date().getTime())}`; }