aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-06-19 15:22:29 +0100
committerFrankie B <git@diskfloppy.me>2024-06-19 15:22:29 +0100
commit56db90d3a3d468ffe8b361715b66b1d8ada93fce (patch)
tree08882eae6e8383c5f1b545766cdd49d33f6b2700 /config
parent8f02ed0a76ce021d9877f28793aa0ebff2b88e8c (diff)
Multidomain.
Diffstat (limited to 'config')
-rw-r--r--config/app.php2
-rw-r--r--config/domain.php27
2 files changed, 29 insertions, 0 deletions
diff --git a/config/app.php b/config/app.php
index 650170a..8922c7d 100644
--- a/config/app.php
+++ b/config/app.php
@@ -26,6 +26,8 @@ return [
App\Providers\AuthServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
+ ])->replace([
+ \Illuminate\Queue\QueueServiceProvider::class => \Gecche\Multidomain\Queue\QueueServiceProvider::class,
])->toArray(),
'aliases' => Facade::defaultAliases()->merge([
])->toArray(),
diff --git a/config/domain.php b/config/domain.php
new file mode 100644
index 0000000..8d5bbca
--- /dev/null
+++ b/config/domain.php
@@ -0,0 +1,27 @@
+<?php
+
+return [
+ 'env_stub' => '.env',
+ 'storage_dirs' => [
+ 'app' => [
+ 'public' => [
+ ],
+ ],
+ 'framework' => [
+ 'cache' => [
+ ],
+ 'testing' => [
+ ],
+ 'sessions' => [
+ ],
+ 'views' => [
+ ],
+ ],
+ 'logs' => [
+ ],
+ ],
+ 'domains' => [
+ 'diskfloppy.me' => 'diskfloppy.me',
+ 'dwiskfwoppy.me' => 'diskfloppy.me',
+ ],
+ ];