hotfix for strange bug
This commit is contained in:
parent
bde974e182
commit
85e8f27047
|
@ -18,6 +18,11 @@ class Travis::Api::App
|
||||||
"This feature has not yet been implemented. Sorry :(\n\nPull Requests welcome!"
|
"This feature has not yet been implemented. Sorry :(\n\nPull Requests welcome!"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# hotfix??
|
||||||
|
def route_missing
|
||||||
|
@app ? forward : halt 404
|
||||||
|
end
|
||||||
|
|
||||||
def call(env)
|
def call(env)
|
||||||
super
|
super
|
||||||
rescue Sinatra::NotFound
|
rescue Sinatra::NotFound
|
||||||
|
|
Loading…
Reference in New Issue
Block a user