You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/assets/javascripts/app/config.coffee.erb

18 lines
649 B

11 years ago
app.config =
db_filename: 'db.json'
default_docs: <%= App.default_docs.to_json %>
docs_origin: '<%= App.docs_origin %>'
11 years ago
env: '<%= App.environment %>'
history_cache_size: 10
index_filename: 'index.json'
11 years ago
index_path: '/<%= App.docs_prefix %>'
max_results: 50
production_host: 'devdocs.io'
search_param: 'q'
sentry_dsn: '<%= App.sentry_dsn %>'
version: <%= Time.now.to_i %>
release: <%= Time.now.utc.httpdate.to_json %>
mathml_stylesheet: '<%= App.cdn_origin %>/mathml.css'
service_worker_path: '/service-worker.js'
6 years ago
service_worker_enabled: <%= App.environment == 'production' || ENV['ENABLE_SERVICE_WORKER'] == 'true' %>