Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Oct 20, 2020
1 parent 86c9bc1 commit b66fa35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/core/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Footer extends React.Component {
function loadScript(src) {
return new Promise(function (resolve, reject) {
const s = document.createElement('script');
s.src = 'https://unpkg.com/dayjs/' + src;
s.src = 'https://cdn.jsdelivr.net/npm/dayjs/' + src;
s.onload = resolve;
s.onerror = reject;
document.head.appendChild(s);
Expand Down

1 comment on commit b66fa35

@Oloompa
Copy link

@Oloompa Oloompa commented on b66fa35 Oct 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iamkun Now all links of website redirect to jsdeliver making the documentation buggy

For example:
https://cdn.jsdelivr.net/gh/dayjs/dayjs-website@gh-pages/docs/en/query/is-same-or-after/

Please sign in to comment.