mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-18 10:07:11 +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
|