File: hikifarm.ru

package info (click to toggle)
hiki 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,812 kB
  • ctags: 2,033
  • sloc: ruby: 14,572; lisp: 926; sh: 19; makefile: 16
file content (17 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env rackup
# -*- ruby -*-
require 'hiki/farm'
require 'hiki/app'
require 'hiki/attachment'

use Rack::Lint
use Rack::ShowExceptions
use Rack::Reloader
#use Rack::Session::Cookie
#use Rack::ShowStatus
use Rack::CommonLogger
use Rack::Static, :urls => ['/theme', '/favicon.ico'], :root => '.'

map '/' do
  run Hiki::Farm::Dispatcher.new
end