mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
test-help-documentation: Bind vnu.jar to 127.0.0.1.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
e0522b6395
commit
a1cf77ca54
@@ -122,7 +122,7 @@ class BaseDocumentationSpider(scrapy.Spider):
|
|||||||
|
|
||||||
if getattr(self, 'validate_html', False):
|
if getattr(self, 'validate_html', False):
|
||||||
yield Request(
|
yield Request(
|
||||||
'http://localhost:9988/?out=json',
|
'http://127.0.0.1:9988/?out=json',
|
||||||
method='POST',
|
method='POST',
|
||||||
headers={'Content-Type': response.headers['Content-Type']},
|
headers={'Content-Type': response.headers['Content-Type']},
|
||||||
body=response.body,
|
body=response.body,
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ def vnu_servlet() -> Iterator[None]:
|
|||||||
os.path.dirname(__file__),
|
os.path.dirname(__file__),
|
||||||
'../node_modules/vnu-jar/build/dist/vnu.jar',
|
'../node_modules/vnu-jar/build/dist/vnu.jar',
|
||||||
),
|
),
|
||||||
|
'-Dnu.validator.servlet.bind-address=127.0.0.1',
|
||||||
'nu.validator.servlet.Main',
|
'nu.validator.servlet.Main',
|
||||||
'9988',
|
'9988',
|
||||||
]) as proc:
|
]) as proc:
|
||||||
|
|||||||
Reference in New Issue
Block a user