File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 25
25
26
26
'manual_migrations ' => (bool ) env ('SHOPIFY_MANUAL_MIGRATIONS ' , false ),
27
27
28
+ /*
29
+ |--------------------------------------------------------------------------
30
+ | Sub Domain
31
+ |--------------------------------------------------------------------------
32
+ |
33
+ | This is the subdomain where Shopify will be accessible from. If the
34
+ | setting is null, Shopify will reside under the same domain as the
35
+ | application. Otherwise, this value will be used as the subdomain.
36
+ |
37
+ */
38
+
39
+ 'domain ' => env ('SHOPIFY_DOMAIN ' ),
40
+
28
41
/*
29
42
|--------------------------------------------------------------------------
30
43
| Manual routes
Original file line number Diff line number Diff line change 13
13
$ manualRoutes = explode (', ' , $ manualRoutes );
14
14
}
15
15
16
- Route::group (['middleware ' => ['api ' ]], function () use ($ manualRoutes ) {
16
+ Route::group ([
17
+ 'domain ' => Util::getShopifyConfig ('domain ' ),
18
+ 'middleware ' => ['api ' ]
19
+ ], function () use ($ manualRoutes ) {
17
20
/*
18
21
|--------------------------------------------------------------------------
19
22
| API Routes
Original file line number Diff line number Diff line change 23
23
$ manualRoutes = explode (', ' , $ manualRoutes );
24
24
}
25
25
26
- Route::group (['prefix ' => Util::getShopifyConfig ('prefix ' ), 'middleware ' => ['web ' ]], function () use ($ manualRoutes ) {
26
+ Route::group ([
27
+ 'domain ' => Util::getShopifyConfig ('domain ' ),
28
+ 'prefix ' => Util::getShopifyConfig ('prefix ' ),
29
+ 'middleware ' => ['web ' ]
30
+ ], function () use ($ manualRoutes ) {
27
31
/*
28
32
|--------------------------------------------------------------------------
29
33
| Home Route
You can’t perform that action at this time.
0 commit comments