From 3f79c9892504acf451bfb34eecf8e5ba1e765b4a Mon Sep 17 00:00:00 2001 From: Joe Biellik Date: Thu, 8 Sep 2016 15:33:08 +0100 Subject: [PATCH] Add SRI integrity --- views/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/index.pug b/views/index.pug index 924a128..988e124 100644 --- a/views/index.pug +++ b/views/index.pug @@ -63,6 +63,6 @@ block content pre.text-md-center.text-muted.m-b-0. echo 'Hello World' | curl -F 'paste=<-' #{url} - script(src='https://cdnjs.cloudflare.com/ajax/libs/autosize.js/3.0.17/autosize.min.js') + script(src='https://cdnjs.cloudflare.com/ajax/libs/autosize.js/3.0.17/autosize.min.js' integrity='sha256-rQ8P/c1io8GRjdDlGwb1K+iUGnS9ZwLPlwh1KpC/02w=', crossorigin='anonymous') script(src='https://code.jquery.com/jquery-2.2.4.min.js', integrity='sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=', crossorigin='anonymous') script(src='/main.js')