Skip to content

Commit d50593c

Browse files
authored
Merge pull request #8842 from ProcessMaker/bugfix/FOUR-31336
FOUR-31336 Add swagger-ui asset route
2 parents 867a624 + 1083139 commit d50593c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

routes/web.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,8 @@
292292
'Content-Type' => 'text/plain; version=0.0.4',
293293
]);
294294
});
295+
296+
Route::get('api/oauth2-redirect.js', function () {
297+
// Fix l5-swagger and swagger-ui mismatch. See https://github.com/DarkaOnLine/L5-Swagger/issues/648
298+
return response()->file(base_path('vendor/swagger-api/swagger-ui/dist/oauth2-redirect.js'));
299+
})->name('oauth2-redirect.js');

0 commit comments

Comments
 (0)