From: Carl Worth Date: Sun, 24 May 2020 15:06:11 +0000 (-0700) Subject: empires: Construct reliable paths for all game API endpoints X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=53c003049ece892e3f648675b897b6cea8f4dc8b;hp=53c003049ece892e3f648675b897b6cea8f4dc8b empires: Construct reliable paths for all game API endpoints By appending to window.location we can ensure that we're always hitting an endpoint one level below the game ID, (and not replacing the game ID), regardless of whether the current path ends in a trailing slash or not. ---