Skip to content

Commit

Permalink
docs: update index.html
Browse files Browse the repository at this point in the history
更新首页,移除 sw.js
  • Loading branch information
yanglbme committed Aug 16, 2019
1 parent 991da26 commit 9583d5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 90 deletions.
9 changes: 2 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
loadNavbar: true,
mergeNavbar: true,
search: [
'/', // => /README.md
'/',
'/docs/coding-interview',
'/docs/the-beauty-of-programming'
],
Expand All @@ -31,7 +31,7 @@
var footer = [
'<hr/>',
'<footer>',
'<span>Copyright © 2018-2019 <a href="https://github.com/yanglbme" target="_blank">yanglbme</a>. All rights reserved.</span>',
'<span>Copyright © 2018-2019 <a href="https://github.com/doocs" target="_blank">Doocs</a>. All rights reserved.</span>',
'</footer>'
].join('')

Expand All @@ -41,13 +41,8 @@
}
]
}

if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}

</script>
<!-- <script src="//unpkg.com/docsify"></script> -->
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-c.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
Expand Down
83 changes: 0 additions & 83 deletions sw.js

This file was deleted.

0 comments on commit 9583d5a

Please sign in to comment.