11 lines
270 B
Ruby
11 lines
270 B
Ruby
# Serve HTTP traffic on this port
|
|
set :port, 5000
|
|
|
|
# Add custom controllers in controller/
|
|
config[:controllers] << 'controller'
|
|
|
|
# Use the local view directory instead of the default
|
|
config[:views] = 'views'
|
|
|
|
# Serve static files from this directory
|
|
public_dir 'public'
|