Remove document.write’s to allow CSP to be re-enabled
This commit is contained in:
parent
6befc9b075
commit
a73e3c76dc
2 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Version 0.3.4 (2017-03-07)
|
||||||
|
- Remove document.write to allow CSP to work
|
||||||
|
|
||||||
## Version 0.3.3 (2017-03-03)
|
## Version 0.3.3 (2017-03-03)
|
||||||
- Fix issue when accessing /admin
|
- Fix issue when accessing /admin
|
||||||
|
|
||||||
|
|
|
@ -28,10 +28,6 @@ New Note «
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
@section('scripts')
|
@section('scripts')
|
||||||
<script>
|
|
||||||
window.Promise || document.write('<script src="https://unpkg.com/promise-polyfill/promise.min.js"><\/script>');
|
|
||||||
window.fetch || document.write('<script src="https://unpkg.com/whatwg-fetch/fetch.js"><\/script>');
|
|
||||||
</script>
|
|
||||||
<script defer src="/assets/js/newnote.js"></script>
|
<script defer src="/assets/js/newnote.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/assets/frontend/alertify.css">
|
<link rel="stylesheet" href="/assets/frontend/alertify.css">
|
||||||
|
|
Loading…
Add table
Reference in a new issue