]> git.cworth.org Git - empires-html/commitdiff
Move API endppoint to have an /api suffix
authorCarl Worth <cworth@cworth.org>
Sun, 3 May 2020 17:14:19 +0000 (10:14 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 3 May 2020 17:21:02 +0000 (10:21 -0700)
We moved this on the server to create room for some non-API content
to be served from /.

empires-client.js

index c460bcdbf40eee7f841759ae1a4c995030dc4c07..511527b216151a47955afc314b223703ad4dd56e 100644 (file)
@@ -1,4 +1,4 @@
-const API = "https://families.cworth.org/";
+const API = "https://families.cworth.org/api/";
 
 function undisplay(element) {
   element.style.display="none";