Skip to content

Commit

Permalink
Update server.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
BforBen committed Nov 7, 2016
1 parent 32fa644 commit 48eff70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.rb
Expand Up @@ -20,6 +20,7 @@
get '/' do
html = File.read(File.join('public', 'index.html'))
html.sub!('$PROFILE_ID', JSON.dump(ENV['GA_VIEW_ID']))
html.sub!('$TITLE_FILTER_RAW', JSON.dump(ENV['TITLE_FILTER']))
html.sub!('$TITLE_FILTER', JSON.dump(ENV['TITLE_FILTER']))
html.gsub!('$DOMAIN_URL_RAW', ENV['GA_WEBSITE_URL'])
html.gsub!('$DOMAIN_URL', JSON.dump(ENV['GA_WEBSITE_URL']))
Expand Down

0 comments on commit 48eff70

Please sign in to comment.