Sha256: 0e262df7b8defd12614ddd41eb5a839141c9462a470a45b494f897cb5e6e7af7
Contents?: true
Size: 631 Bytes
Versions: 16
Compression:
Stored size: 631 Bytes
Contents
require 'bundler/setup' require 'dry-container' require 'sinatra/activerecord' require 'rubydns' require 'sinatra' require_relative 'initializers/001_hash' require_relative 'initializers/002_openstruct' SOCKET_PATH = File.expand_path('/tmp/app.sock') # sinatra conf configure do # set :public_folder, 'public' # set :views, 'app/views' set :server, :thin # enable/disable the built-in web server # set :run, :false # server hostname or IP address # set :bind, SOCKET_PATH, "localhost:4567" # set :port, 4567 #enable :sessions #set :session_secret, 'password_security' set :default_content_type, :json end
Version data entries
16 entries across 16 versions & 1 rubygems