mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-10-30 22:27:52 +00:00
Compare commits
13 Commits
restock-pr
...
ipv6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c81cda08f7 | ||
|
|
5d4dee2a1e | ||
|
|
4a86637f2d | ||
|
|
9b4b5cae1c | ||
|
|
285a65ced4 | ||
|
|
467cd099e9 | ||
|
|
794a6d59de | ||
|
|
5f997e5d1b | ||
|
|
e412fd6146 | ||
|
|
c950ab5219 | ||
|
|
fcbda7829a | ||
|
|
366baaf322 | ||
|
|
6c1b9bcc5c |
3
.github/workflows/test-only.yml
vendored
3
.github/workflows/test-only.yml
vendored
@@ -68,6 +68,9 @@ jobs:
|
||||
# Should return 0 (no error) when grep finds it
|
||||
curl -s http://localhost:5556 |grep -q checkbox-uuid
|
||||
curl -s http://localhost:5556/rss|grep -q rss-specification
|
||||
# and IPv6
|
||||
curl -s -g -6 "http://[::1]:5556"|grep -q checkbox-uuid
|
||||
curl -s -g -6 "http://[::1]:5556/rss"|grep -q rss-specification
|
||||
|
||||
#export WEBDRIVER_URL=http://localhost:4444/wd/hub
|
||||
#pytest tests/fetchers/test_content.py
|
||||
|
||||
@@ -9,6 +9,7 @@ import getopt
|
||||
import os
|
||||
import signal
|
||||
import sys
|
||||
import socket
|
||||
|
||||
from . import store, changedetection_app, content_fetcher
|
||||
from . import __version__
|
||||
@@ -126,11 +127,11 @@ def main():
|
||||
|
||||
if ssl_mode:
|
||||
# @todo finalise SSL config, but this should get you in the right direction if you need it.
|
||||
eventlet.wsgi.server(eventlet.wrap_ssl(eventlet.listen((host, port)),
|
||||
eventlet.wsgi.server(eventlet.wrap_ssl(eventlet.listen((host, port), socket.AF_INET6),
|
||||
certfile='cert.pem',
|
||||
keyfile='privkey.pem',
|
||||
server_side=True), app)
|
||||
|
||||
else:
|
||||
eventlet.wsgi.server(eventlet.listen((host, int(port))), app)
|
||||
eventlet.wsgi.server(eventlet.listen((host, int(port)), socket.AF_INET6), app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user