Skip to content

Commit c44e7dd

Browse files
authored
Merge pull request #8852 from ProcessMaker/bugfix/FOUR-31708
FOUR-31708 Use relative paths for swagger config
2 parents 0a0f675 + 2cbbd5d commit c44e7dd

2 files changed

Lines changed: 1612 additions & 2582 deletions

File tree

config/l5-swagger.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@
166166
'description' => 'Laravel passport oauth2 security.',
167167
'flows' => [
168168
'authorizationCode' => [
169-
'authorizationUrl' => config('app.url') . '/oauth/authorize',
170-
'tokenUrl' => config('app.url') . '/oauth/token',
171-
'refreshUrl' => config('app.url') . '/token/refresh',
169+
'authorizationUrl' => '/oauth/authorize',
170+
'tokenUrl' => '/oauth/token',
171+
'refreshUrl' => '/token/refresh',
172172
'scopes' => (object) [],
173173
],
174174
],

0 commit comments

Comments
 (0)