Skip to content

Commit

Permalink
Merge pull request #69 from GlitterCakes/main
Browse files Browse the repository at this point in the history
Adding Domain Support
  • Loading branch information
andreaselia authored Dec 4, 2024
2 parents 70633b3 + 9eb896d commit 677bab9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
*/
'prefix' => 'analytics',

/**
* Domain.
*
* The domain (optional) for the analytics dashboard.
*/
'domain' => null,

'middleware' => [
'web',
],
Expand Down
1 change: 1 addition & 0 deletions src/AnalyticsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ protected function routeConfig(): array
'namespace' => 'AndreasElia\Analytics\Http\Controllers',
'prefix' => config('analytics.prefix'),
'middleware' => config('analytics.middleware'),
'domain' => config('analytics.domain'),
];
}

Expand Down

0 comments on commit 677bab9

Please sign in to comment.