-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Content Security Policy in report-only mode
* Remove modernizr, since it caused policy violations and we don't need it. * Add a CSP in report-only mode. It won't block anything, but will log violations to the console. Once we add Honeybadger to this application, we can configure it to receive warnings about CSP violations.
- Loading branch information
1 parent
e11b75a
commit 3713948
Showing
4 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,9 @@ | |
<head> | ||
<title>Repec</title> | ||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> | ||
<%= stylesheet_link_tag 'https://unpkg.com/lux-design-system@5/dist/style.css' %> | ||
<%= javascript_include_tag :modernizr %> | ||
<%= javascript_include_tag 'https://unpkg.com/vue@3/dist/vue.global.prod.js' %> | ||
<%= javascript_include_tag 'https://unpkg.com/lux-design-system@5/dist/lux-styleguidist.iife.js' %> | ||
<%= stylesheet_link_tag 'https://unpkg.com/[email protected]/dist/style.css' %> | ||
<%= javascript_include_tag 'https://unpkg.com/[email protected]/dist/vue.global.prod.js', nonce: true %> | ||
<%= javascript_include_tag 'https://unpkg.com/[email protected]/dist/lux-styleguidist.iife.js', nonce: true %> | ||
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> | ||
<%= csrf_meta_tags %> | ||
</head> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters