Commit graph

5 commits

Author SHA1 Message Date
Olli Vanhapiha
42aeefd487 Ensure PORT is an integer 2018-03-15 23:00:01 +02:00
Olli Vanhapiha
6380d7569f Harmonize client & server env handling
* Remove defaults from multiple places in code. Put them to .env-template instead
* Do not use imported config.js in server. Access process.env directly instead
* Instruct using .env for local development, not .env.development.local
2018-03-15 14:27:57 +02:00
Hannu Lyytikainen
97701d0200 Add a helper function and improve function naming 2017-10-19 15:17:43 +03:00
Hannu Lyytikainen
6f35929431 Extract domain and port resolving to functions
Also use the canonical root URL value to resolve the port.
2017-10-19 14:58:47 +03:00
Hannu Lyytikainen
2be909014f Add sitemap.xml and robots.txt files 2017-10-19 11:07:56 +03:00