This repository has been archived by the owner on May 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathvapor-ui.php
68 lines (56 loc) · 2.17 KB
/
vapor-ui.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
use Laravel\VaporUi\Http\Middleware\EnsureEnvironmentVariables;
use Laravel\VaporUi\Http\Middleware\EnsureUpToDateAssets;
use Laravel\VaporUi\Http\Middleware\EnsureUserIsAuthorized;
return [
/*
|--------------------------------------------------------------------------
| Vapor UI Route Middleware
|--------------------------------------------------------------------------
|
| These middleware will be assigned to every Vapor UI route - giving you
| the chance to add your own middleware to this list or change any of
| the existing middleware. Or, you can simply stick with this list.
|
*/
'middleware' => [
'web',
EnsureUserIsAuthorized::class,
EnsureEnvironmentVariables::class,
EnsureUpToDateAssets::class,
],
/*
|--------------------------------------------------------------------------
| Vapor UI Domain
|--------------------------------------------------------------------------
|
| This is the subdomain where Vapor UI will be accessible from. If this
| setting is null, Vapor UI will reside under the same domain as the
| application. Otherwise this value should serve as the subdomain.
|
*/
'domain' => env('VAPOR_UI_DOMAIN', null),
/*
|--------------------------------------------------------------------------
| Vapor UI Path
|--------------------------------------------------------------------------
|
| This is the URI path where Vapor UI will be accessible from. Feel free
| to change the path to anything you like. Note that the URI will not
| affect the paths of its internal API that isn't exposed to users.
|
*/
'path' => env('VAPOR_UI_PATH', 'vapor-ui'),
/*
|--------------------------------------------------------------------------
| Vapor UI Queues
|--------------------------------------------------------------------------
|
| Typically, queues that should be monitored will be determined for you
| by Vapor UI. However, you are free to add additional queues to the
| list below in order to monitor queues that Vapor doesn't manage.
|
*/
'queues' => [
],
];