Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117889897
D2698.1775362196.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D2698.1775362196.diff
View Options
diff --git a/src/routes/api.php b/src/routes/api.php
--- a/src/routes/api.php
+++ b/src/routes/api.php
@@ -156,7 +156,7 @@
if (\config('app.with_services')) {
Route::group(
[
- 'domain' => 'services.' . \config('app.domain'),
+ 'domain' => 'services.' . \config('app.website_domain'),
'prefix' => $prefix . 'api/webhooks/policy'
],
function () {
@@ -170,7 +170,7 @@
if (\config('app.with_admin')) {
Route::group(
[
- 'domain' => 'admin.' . \config('app.domain'),
+ 'domain' => 'admin.' . \config('app.website_domain'),
'middleware' => ['auth:api', 'admin'],
'prefix' => $prefix . 'api/v4',
],
@@ -202,7 +202,7 @@
if (\config('app.with_reseller')) {
Route::group(
[
- 'domain' => 'reseller.' . \config('app.domain'),
+ 'domain' => 'reseller.' . \config('app.website_domain'),
'middleware' => ['auth:api', 'reseller'],
'prefix' => $prefix . 'api/v4',
],
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 5, 4:09 AM (10 h, 21 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18832299
Default Alt Text
D2698.1775362196.diff (1 KB)
Attached To
Mode
D2698: Consistently use website_domain for api
Attached
Detach File
Event Timeline