Skip to content

Commit

Permalink
remove jsdeliver cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
SharzyL committed Mar 7, 2022
1 parent a9b5c98 commit d006eab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
<head>
<meta charset='UTF-8'>
<title>Yet another pastebin</title>
<link rel='stylesheet' href='https://pages.github.com/assets/css/style.css' />
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<script src='https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js' defer></script>
<link rel='icon' href='{{FAVICON}}' type='image/png' />
<style media='screen'>
{% render 'frontend/style.css' %}
</style>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js' defer></script>
</head>
<html lang='en'>
<body>
Expand Down
2 changes: 0 additions & 2 deletions frontend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ window.addEventListener('load', () => {
const deploy_date = new Date('{{DEPLOY_DATE}}')

function getDateString(date) {
console.log(date)
const year = date.getFullYear()
const month = (date.getMonth() + 1).toString().padStart(2, '0')
const day = date.getDate().toString().padStart(2, '0')
Expand Down Expand Up @@ -280,7 +279,6 @@ window.addEventListener('load', () => {
}

function handleError(error) {
console.log(error)
const status = error.status || ''
let statusText = error.statusText === 'error' ? 'Unknown error' : error.statusText
const responseText = error.responseText || ''
Expand Down
2 changes: 2 additions & 0 deletions frontend/style.css

Large diffs are not rendered by default.

0 comments on commit d006eab

Please sign in to comment.