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