Created
March 14, 2017 15:38
-
-
Save scottw/a330311d443ef76358a42a11097169ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- local/lib/perl5/Mojolicious/Plugin/OpenAPI.pm~ 2017-03-02 16:35:26.000000000 -0700 | |
+++ local/lib/perl5/Mojolicious/Plugin/OpenAPI.pm 2017-03-14 09:34:37.000000000 -0600 | |
@@ -223,7 +223,7 @@ | |
local $spec->{id}; | |
delete $spec->{id}; | |
- local $spec->{basePath} = $c->url_for($spec->{basePath}); | |
+# local $spec->{basePath} = $c->url_for($spec->{basePath}); | |
local $spec->{host} = $c->req->url->to_abs->host_port; | |
return $c->render(json => $spec) unless $format eq 'html'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment