]> git.cworth.org Git - empires-server/commit
Add 'trust proxy' option since we trust our proxy
authorCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 16:34:29 +0000 (09:34 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 16:34:29 +0000 (09:34 -0700)
commit219a2dafd6eea42e66181ef2345590028e18f684
treee15e217c21aaadb9257714352ea361942e8ac352
parent82706fc10e5a4fc572f798fca29e9741300fb0cc
Add 'trust proxy' option since we trust our proxy

This fixes the URL that the server gives to clients in the game-info
event so that it will be a working URL (https://lmno.games/WXYZ)
instead of a URL from the node point of view (http://localhost/WXYZ)
which won't do any good for users to share.
lmno.js