-
-
Save cursosdesarrolloweb/399c4a5f7fe4f8ac5b41ea54bfea81dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Support\Facades\Route; | |
Route::domain("{subdomain}.trucos-y-consejos.test")->group(function () { | |
Route::get("/", function (string $subdomain) { | |
return "Subdominio para $subdomain"; | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment