History

Host MathML stylesheet in DevDocs

Thibaut Courouble committed 10 years ago

Commit a8bd4221 parent 4c28cb63 files · +218 −3Browse files

Showing the changes to lib (1 of 3 files). Show all

Unified · Split

lib/app.rb+2−1
@@ -80,11 +80,12 @@ class App < Sinatra::Application · 79 unmodified lines
8080 use Rack::Deflater
8181 use Rack::Static,
8282 root: 'public',
83− urls: %w(/assets /docs/ /images /favicon.ico /robots.txt /opensearch.xml /manifest.webapp),
83+ urls: %w(/assets /docs/ /images /favicon.ico /robots.txt /opensearch.xml /manifest.webapp /mathml.css),
8484 header_rules: [
8585 [:all, {'Cache-Control' => 'no-cache, max-age=0'}],
8686 ['/assets', {'Cache-Control' => 'public, max-age=604800'}],
8787 ['/favicon.ico', {'Cache-Control' => 'public, max-age=86400'}],
88+ ['/mathml.css', {'Cache-Control' => 'public, max-age=604800'}],
8889 ['/images', {'Cache-Control' => 'public, max-age=86400'}] ]
8990
9091 sprockets.js_compressor = Uglifier.new output: { beautify: true, indent_level: 0 }