use emrun with explicit "--hostname 127.0.0.1" for testing

Minor security improvement. See
https://github.com/emscripten-core/emscripten/issues/22077

Change-Id: I05d632f6023883672d0e1b2586f53df87dd7d874
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172540
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Reviewed-by: Moritz Duge <moritz.duge@allotropia.de>
This commit is contained in:
Moritz Duge
2024-08-29 07:22:31 +02:00
committed by Stephan Bergmann
parent 0427231a14
commit c888329adf
+2 -3
View File
@@ -20,11 +20,10 @@ populated with just the relevant files from `instdir`.
The build generates a Writer-only LO build. You should be able to run either
$ emrun --serve_after_close workdir/installation/LibreOffice/emscripten/qt_soffice.html
$ emrun --serve_after_close workdir/LinkTarget/Executable/qt_vcldemo.html
$ emrun --hostname 127.0.0.1 --serve_after_close workdir/installation/LibreOffice/emscripten/qt_soffice.html
$ emrun --hostname 127.0.0.1 --serve_after_close workdir/LinkTarget/Executable/qt_vcldemo.html
REMINDER: Always start new tabs in the browser, reload might fail / cache!
INFO: latest browser won't work anymore with 0.0.0.0 and need 127.0.0.1.
## Setup for the LO WASM build (with Qt)