Browse Source

Add simple GET route for debugging

master
Dylan Baker 5 years ago
parent
commit
221249c96c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      figbot.rb

+ 4
- 0
figbot.rb View File

@@ -67,6 +67,10 @@ def uses_emoji(opts)
67 67
   (opts[:space][0] == ':' and opts[:space][-1] == ':') or (opts[:ink][0] == ':' and opts[:ink][-1] == ':')
68 68
 end
69 69
 
70
+get '/' do
71
+  'FigBot'
72
+end
73
+
70 74
 post '/' do
71 75
     content_type :json
72 76
     {

Loading…
Cancel
Save