Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

can fetch .css file

  • Loading branch information...
commit 069386035aef19ceb30e82c15edf8fb6833586bf 1 parent d42c133
Dan Croak authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  app.rb
4  app.rb
@@ -12,6 +12,10 @@ class App < Sinatra::Base
12 12
             'Access-Control-Allow-Origin' => '*'
13 13
   end
14 14
 
  15
+  get '/:font_face.css' do
  16
+    open("#{ENV['S3_URL']}/#{params[:font_face]}.css").read
  17
+  end
  18
+
15 19
   get '/:font_face' do
16 20
     headers['Content-Type'] = case params[:font_face]
17 21
                                 when /\.ttf$/  then 'font/truetype'

0 notes on commit 0693860

Please sign in to comment.
Something went wrong with that request. Please try again.