From 065da9bc6e1a7fe0b71db87813c97f614b50bed9 Mon Sep 17 00:00:00 2001 From: Leif Ringstad Date: Thu, 19 Jan 2017 16:11:49 +0100 Subject: [PATCH] Add nonce option for secure headers --- skel/livereload.html.erb | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/skel/livereload.html.erb b/skel/livereload.html.erb index 6721c43..434e3d3 100644 --- a/skel/livereload.html.erb +++ b/skel/livereload.html.erb @@ -1,15 +1,23 @@ <% if with_swf? %> - - - + <% if defined?(SecureHeaders) %> + + + <% end %> - +<% if defined?(SecureHeaders) %> +