Skip to content

Commit f471149

Browse files
weaverryanKocal
andcommitted
Update frontend/encore/dev-server.rst
Co-authored-by: Hugo Alliaume <[email protected]>
1 parent 1cfdad1 commit f471149

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/encore/dev-server.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ these options automatically:
4848
}
4949
5050
If you experience issues related to CORS (Cross Origin Resource Sharing), add
51-
the ``--disable-host-check`` and ``--port`` options to the ``dev-server``
51+
the ``--firewall false`` and ``--port`` options to the ``dev-server``
5252
command in the ``package.json`` file:
5353

5454
.. code-block:: diff
@@ -57,7 +57,7 @@ command in the ``package.json`` file:
5757
...
5858
"scripts": {
5959
- "dev-server": "encore dev-server",
60-
+ "dev-server": "encore dev-server --port 8080 --disable-host-check",
60+
+ "dev-server": "encore dev-server --port 8080 --firewall false",
6161
...
6262
}
6363
}

0 commit comments

Comments
 (0)