Explorar el Código

Add simple GET route for debugging

master
Dylan Baker hace 5 años
padre
commit
221249c96c
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      figbot.rb

+ 4
- 0
figbot.rb Ver fichero

@@ -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…
Cancelar
Guardar