Skip to content

Commit 7691dbb

Browse files
committed
update
1 parent 1c59610 commit 7691dbb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
stack-service-base (0.0.59)
4+
stack-service-base (0.0.60)
55
async
66
debug
77
dotenv

lib/stack-service-base/rack_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def parse_enum_or_range_values(values)
170170
end if defined? GrapeSwagger::DocMethods::ParseParams
171171

172172
app.use Rack.middleware_klass do |env, app|
173-
code, headers, body = env['REQUEST_METHOD'] == 'OPTIONS' ? [200, {}, []] : app.call(env)
173+
code, headers, body = app.call(env)
174174
if code == 404 && env['PATH_INFO'] == '/healthcheck'
175175
code, headers, body = [200, {'Content-Type' =>'application/json'}, [{ Status: 'Healthy' }.to_json ]]
176176
end

lib/stack-service-base/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module StackServiceBase
2-
VERSION = '0.0.60'
2+
VERSION = '0.0.61'
33
end

0 commit comments

Comments
 (0)