Turn-based strategy server.
** WORK IN PROGRESS - DONT'T WASTE YOUR TIME IN THIS **
- hide implementation detail: remove
x-powered-by
header - disallows emeding in iframe: set
X-Frame-Options: SAMEORIGIN
- read to correct ip:
app.set('trust proxy', 'loopback')
(assumes we behind reverse proxy, as is the case with heroku) - redirect to https if
x-forwarded-proto: http
(again, assumes we behind reverse proxy, as is the case with heroku)
- disallow in development
- disallow static bower folder in production
- forward not found error the error handler
- use devlopment error handler
AGPL © Amit Portnoy