|
|
@ -73,7 +73,7 @@ class App < Sinatra::Application
|
|
|
|
|
|
|
|
|
|
|
|
configure :production do
|
|
|
|
configure :production do
|
|
|
|
set :static, false
|
|
|
|
set :static, false
|
|
|
|
set :docs_origin, '//docs.devdocs.io'
|
|
|
|
set :docs_origin, '//documents.devdocs.in'
|
|
|
|
set :csp, "default-src 'self' *; script-src 'self' 'nonce-devdocs' https://www.google-analytics.com https://secure.gaug.es https://*.jquery.com; font-src 'none'; style-src 'self' 'unsafe-inline' *; img-src 'self' * data:;"
|
|
|
|
set :csp, "default-src 'self' *; script-src 'self' 'nonce-devdocs' https://www.google-analytics.com https://secure.gaug.es https://*.jquery.com; font-src 'none'; style-src 'self' 'unsafe-inline' *; img-src 'self' * data:;"
|
|
|
|
|
|
|
|
|
|
|
|
use Rack::ConditionalGet
|
|
|
|
use Rack::ConditionalGet
|
|
|
|