serving clipboard.js + moved scripts to ./scripts
All checks were successful
continuous-integration/drone/push Build is passing

* due to CSP issue clipboard functionality was not working correctly,
  this temporarily fixes that
* updated script paths accordingly
This commit is contained in:
surtur 2020-03-26 08:15:55 +01:00
parent 5f29ea9603
commit d98ea5defc
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
7 changed files with 13 additions and 6 deletions

2
deploy

@ -6,7 +6,7 @@ PUBDIR=tew_0x00public/
rm -rfv ./public
mkdir -pv public
rsync -av index.html prism.js pages css media ./public
rsync -av index.html scripts pages css media ./public
if [ $USER = $USR ]; then
rsync -av --delete public/ ~/${PUBDIR}

@ -87,6 +87,6 @@
</footer>
<script src="../prism.js"></script>
<script src="../scripts/prism.js"></script>
</body>
</html>

@ -63,6 +63,6 @@
</footer>
<script src="../prism.js"></script>
<script src="../scripts/prism.js"></script>
</body>
</html>

@ -73,6 +73,6 @@
</footer>
<script src="../prism.js"></script>
<script src="../scripts/prism.js"></script>
</body>
</html>

@ -81,6 +81,6 @@
</footer>
<script src="../prism.js"></script>
<script src="../scripts/prism.js"></script>
</body>
</html>

7
scripts/clipboard.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long