Sha256: a2851e72307866d774e4edbf35f7f8487e6e8f4620bc0d6c09a319771a9ee8ee

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'tminus'
disable :run

app = Firefly::Server.new do
  # The domain you use for shortening.
  set :hostname,    "localhost:3000"

  # Used for authenticating you.
  set :api_key,     "oklahoma"

  # Use Sqlite3 by default
  set :database,    "sqlite3://#{Dir.pwd}/firefly.sqlite3"
  # Defaults to 25
  # set :recent_urls, 10
end

run app

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tmin-0.0.3 config.ru.example
tmin-0.0.2 config.ru.example