media_server_controller.rb
Ruby
code posted
by
Rack::App
created at 25 Mar 12:17
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# media_server_controller.rb require 'rack/app' class MediaServerController < Rack::App serve_files_from '/public' serve_files_from 'assets', to: '/assets' mount_directory '/www' end run MediaServerController |
235 Bytes in 2 ms with coderay