1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/tools/templates
LouisJackman bd1ab74031 Add a devserver-global task for non-local dev testing
The devserver target recently acquired a sane default of restricting
access only to localhost. This is good for security. However, it can
frustrate some usages like testing on phones on a local network or
hosting the dev server within VMs (e.g. Docker for Mac) which see host
OS browsers as not being 127.0.0.1.

Add a new target called `devserver-global` for this case. As it's longer
to type, the more svelte `devserver` will retain the more secure
defaults that will suffice for most users; they can use the
longer-to-type `devserver-global` target to relax the localhost-only
restriction.
2020-01-23 21:29:13 +00:00
..
Makefile.jinja2 Add a devserver-global task for non-local dev testing 2020-01-23 21:29:13 +00:00
pelicanconf.py.jinja2 Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
publishconf.py.jinja2 Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
tasks.py.jinja2 Separate SSH user/host/path vars in tasks.py 2019-10-09 11:17:44 -07:00