diff --git a/Changes b/Changes index 0005f3c..740b6c0 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ Revision history for perl distribution Mojolicious-Plugin-OpenAPI -2.11 Not Released +2.11 2019-01-26T11:37:15+0900 - Fix allowing regular requests with "openapi_cors_allowed_origins" #103 2.10 2019-01-25T12:49:55+0900 diff --git a/lib/Mojolicious/Plugin/OpenAPI.pm b/lib/Mojolicious/Plugin/OpenAPI.pm index 6ba84b8..eac36f9 100644 --- a/lib/Mojolicious/Plugin/OpenAPI.pm +++ b/lib/Mojolicious/Plugin/OpenAPI.pm @@ -7,7 +7,7 @@ use Mojo::JSON; use Mojo::Util; use constant DEBUG => $ENV{MOJO_OPENAPI_DEBUG} || 0; -our $VERSION = '2.10'; +our $VERSION = '2.11'; my $X_RE = qr{^x-}; has route => sub {undef};