Update quickstart.blade.md

This commit is contained in:
Vu Quang Tam 2020-09-17 10:49:00 +07:00 committed by GitHub
parent 6832de38bb
commit 6ec4b02b14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,6 +85,13 @@ In other words, it creates & migrates the tenant's database after he's created
We'll make a small change to the `app/Providers/RouteServiceProvider.php` file. Specifically, we'll make sure that central routes are registered on central domains only.
```php
public function boot()
{
$this->configureRateLimiting();
$this->mapWebRoutes(); // Add this to boot
$this->mapApiRoutes(); // Add this to boot
}
.....
protected function mapWebRoutes()
{
foreach ($this->centralDomains() as $domain) {