Full URL navigation support
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
require 'skeksis'
|
||||
|
||||
SERVE_DIR="/Users/madeline/Code/gemini-bridge-rack/gemini"
|
||||
|
||||
class SkeksisApp
|
||||
def initialize
|
||||
@skeksis = Skeksis::GemBridge.new
|
||||
@@ -10,7 +8,7 @@ class SkeksisApp
|
||||
def call(env)
|
||||
status = 200
|
||||
headers = { "content-type" => "text/html" }
|
||||
body = @skeksis.query(SERVE_DIR + env['PATH_INFO'], env)
|
||||
body = @skeksis.query(env['PATH_INFO'], env)
|
||||
|
||||
[status, headers, body]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user