Skip to content

Commit

Permalink
Added sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed Oct 23, 2016
1 parent 003fa89 commit ae5ac34
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions lita_config_sample.rb
@@ -1,4 +1,13 @@
Lita.configure do |config|
config.handlers.onewheel_check_headers.urls = %w(uri1 uri2)
config.handlers.onewheel_check_headers.headers = %w(headers to look for)
config.handlers.onewheel_check_headers.default = 'main'
config.handlers.onewheel_check_headers.servers = {
main: {
urls: ['https://main.server'],
headers: ['header1', 'header2']
},
secondary: {
urls: ['http://secondary.url'],
headers: ['header3', 'header4']
}
}
end

0 comments on commit ae5ac34

Please sign in to comment.