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
   (opts[:space][0] == ':' and opts[:space][-1] == ':') or (opts[:ink][0] == ':' and opts[:ink][-1] == ':')
67
   (opts[:space][0] == ':' and opts[:space][-1] == ':') or (opts[:ink][0] == ':' and opts[:ink][-1] == ':')
68
 end
68
 end
69
 
69
 
70
+get '/' do
71
+  'FigBot'
72
+end
73
+
70
 post '/' do
74
 post '/' do
71
     content_type :json
75
     content_type :json
72
     {
76
     {

Loading…
Cancel
Save