initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative 'http/response'
|
||||
require_relative 'db'
|
||||
|
||||
module FO::Endpoint
|
||||
def call(env)
|
||||
req = FO::HTTP::Request.new(env)
|
||||
res = req.new_response(200)
|
||||
self.dispatch(req, res)
|
||||
res.finish
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user