mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
15 lines
163 B
Ruby
15 lines
163 B
Ruby
require 'bundler/setup'
|
|
|
|
$LOAD_PATH.unshift 'lib'
|
|
|
|
require 'app'
|
|
|
|
map '/' do
|
|
run App
|
|
end
|
|
|
|
if App.development?
|
|
map '/assets' do
|
|
run App.sprockets
|
|
end
|
|
end
|