Skip to content

Commit 1366f1d

Browse files
committed
docs: update routing guide to reference php spark serve and remove redundant subdomain port note
1 parent 598f2f7 commit 1366f1d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎user_guide_src/source/incoming/routing.rst‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ It would not work under the main site at **example.com**.
481481
The ``hostname`` option is compared against the full ``HTTP_HOST`` value of the
482482
request, including the port when one is present. When your application is served
483483
on a non-standard port (for example ``localhost:8080``, behind Docker, or when
484-
using ``spark server``), you must include the port in the ``hostname`` option for
484+
using ``php spark serve``), you must include the port in the ``hostname`` option for
485485
the routes to match. For example, ``['hostname' => 'localhost:8080']`` matches only
486486
requests to ``localhost:8080``.
487487

@@ -511,10 +511,6 @@ that does not have any subdomain present, this will not be matched:
511511
Most domains should work fine but some edge case ones, especially with a period in the domain itself (not used
512512
to separate suffixes or www) can potentially lead to false positives.
513513

514-
.. note::
515-
516-
The ``subdomain`` option is also compared against the ``HTTP_HOST`` value, so when the application runs on a
517-
non-standard port, the port must be included as well (for example ``sub.example.com:8080``).
518514

519515
Offsetting the Matched Parameters
520516
=================================

0 commit comments

Comments
 (0)