]> git.cworth.org Git - empires-server/commit
empires: Serve the actual game file from the root of the app
authorCarl Worth <cworth@cworth.org>
Sun, 17 May 2020 21:45:34 +0000 (14:45 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 17 May 2020 22:36:18 +0000 (15:36 -0700)
commit615d8cf656c88fa3ebd6deceecf468338928815e
treefb010c83f379bddddde851d8bc40df0e85ae4432
parent74fbb20db7ae89671f020a60e77f8d55ec17ee1f
empires: Serve the actual game file from the root of the app

This game.html file is actually totally static, but it lives at a
dynamic path (which includes the game ID in the path), so within the
dynamic app we need to serve the static file. To arrange for this we
symlink to the static file. Note that we're not committing the symlink
to git since the destination location can differ on each system.
.gitignore
empires.js