php-router icon indicating copy to clipboard operation
php-router copied to clipboard

Subdomain Control Issue

Open Sanan-84 opened this issue 1 year ago • 0 comments

I am experiencing an issue with adding subdomain control to a route class. When adding subdomain control, I noticed that the expected behavior is not occurring.

subdomain control as follows:

Route::subdomain('subdomain')->group(function () {
    // Subdomain-specific code will be added here
});

I visited the page by setting the subdomain to subdomain

Instead of the expected behavior, I did not receive any error or result explaining the issue.

Expected Behavior: When visiting the subdomain subdomain.example.com, the code in the relevant route class is expected to run, and the correct results are expected.

Sanan-84 avatar Mar 10 '24 03:03 Sanan-84