Skip to content

Commit

Permalink
allow to configure a domain
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Oct 18, 2023
1 parent 1095cc6 commit 4b0c810
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/zeus-sky.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

return [
'domain' => null,

/**
* set the default path for the blog homepage.
*/
Expand Down
3 changes: 2 additions & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@

$filament = app('filament');

Route::prefix(config('zeus-sky.prefix'))
Route::domain(config('zeus-sky.domain'))
->middleware(config('zeus-sky.middleware'))
->prefix(config('zeus-sky.prefix'))
->group(function () {

if (in_array('faq', config('zeus-sky.uri'))) {
Expand Down

0 comments on commit 4b0c810

Please sign in to comment.