Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove log messages

  • Loading branch information...
commit 21fd4afbe420abfed4a99197d6d6aa2c413f3f9f 1 parent 97df2f3
Gareth Rees authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  lib/fistface.rb
3  lib/fistface.rb
View
@@ -6,7 +6,6 @@ module FistFace
def self.registered(app)
app.before do
- puts "// FistFace Before Filter"
one_year_in_seconds = 31536000
headers 'Cache-Control' => "public, max-age=#{one_year_in_seconds}",
@@ -15,13 +14,11 @@ def self.registered(app)
end
app.get '/:font_face.css' do
- puts "// FistFace Get Stylesheet"
headers['Content-Type'] = 'text/css'
open("#{ENV['S3_URL']}/#{params[:font_face]}.css").read
end
app.get '/:directory/:font_face' do
- puts "// FistFace Get Font File"
headers['Content-Type'] = case params[:font_face]
when /\.ttf$/ then 'font/truetype'
when /\.otf$/ then 'font/opentype'
Please sign in to comment.
Something went wrong with that request. Please try again.