1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
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
..
plugins Remove py2-isms and avoid sys.path hacks 2019-12-01 18:33:11 +03:00
tests remove pelican.signals in favor of pelican.plugins.signals 2019-12-01 18:14:13 +03:00
themes Add CSS classes for reStructuredText figures 2019-07-23 16:37:09 +02:00
tools Add a devserver-global task for non-local dev testing 2020-01-23 21:29:13 +00:00
__init__.py Exit web server gracefully when user taps CTRL-C 2020-01-19 09:07:02 +01:00
__main__.py Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
cache.py Convert super() calls to py3 style 2019-11-26 06:17:04 +09:00
contents.py remove pelican.signals in favor of pelican.plugins.signals 2019-12-01 18:14:13 +03:00
generators.py remove pelican.signals in favor of pelican.plugins.signals 2019-12-01 18:14:13 +03:00
log.py Convert super() calls to py3 style 2019-11-26 06:17:04 +09:00
paginator.py Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
readers.py remove pelican.signals in favor of pelican.plugins.signals 2019-12-01 18:14:13 +03:00
rstdirectives.py Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
server.py Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
settings.py Namespace plugin implementation 2019-12-01 17:55:19 +03:00
urlwrappers.py Convert super() calls to py3 style 2019-11-26 06:17:04 +09:00
utils.py Convert super() calls to py3 style 2019-11-26 06:17:04 +09:00
writers.py remove pelican.signals in favor of pelican.plugins.signals 2019-12-01 18:14:13 +03:00