pcmt/templates/browsersync.tmpl
leo 50c3c939b6
All checks were successful
continuous-integration/drone/push Build is passing
head.tmpl: add Content Security Policy meta attr
* implement calculating integrity for script, stylesheet assets
* break out browser-sync loader script to its own file (instead of
  inline)
* implement Content Security Policy that only allows BrowserSync scripts
  and hooks to load from localhost when DevelMode is enabled (i.e. not
  in production)
2023-05-15 14:12:39 +02:00

2 lines
122 B
Go HTML Template

<script defer id="__bs_script__" src="/assets/js/browsersync.js" integrity="{{- sha384 "js/browsersync.js" -}}"></script>