Skip to content

Commit

Permalink
fix: 🐛 can't test locally :/
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Gougouzian committed Nov 11, 2021
1 parent 86515ee commit 6cb4849
Show file tree
Hide file tree
Showing 20 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion docs/404.683c0531.js

This file was deleted.

Binary file removed docs/404.683c0531.js.br
Binary file not shown.
Binary file removed docs/404.683c0531.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions docs/404.d60c27e9.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added docs/404.d60c27e9.js.br
Binary file not shown.
Binary file added docs/404.d60c27e9.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><script type="module" src="index.b968aec0.js"></script><link rel="stylesheet" href="index.7b0f43f7.css"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>MuziK</title><link rel="icon" type="image/svg+xml" href="favicon.1e162f1f.svg"></head><body><h1></h1><div id="app"><div id="wrapper"><div id="title"></div><div id="jukebox"><div id="jukebox--box"><div id="jukebox--youtube"><div id="player"></div></div><div id="jukebox--soundcloud"><iframe scrolling="no" frameborder="no" width="640" allow="autoplay"></iframe></div></div></div><div id="controls"><div id="link"><a href="javascript:void(0);" onclick="window.getLink()" title="Link to share">🔗</a></div><div id="volume-control"><span>🔈</span><input id="volume" type="range" min="0" max="100" step="1" title="volume" defaultvalue="82" onchange="window.setVolume(this.value)" oninput="window.setVolume(this.value)"><span>🔊</span></div><div id="next"><a href="javascript:void(0);" onclick="window.nextSong();" title="new song (n)">🎵</a></div></div></div></div><div id="infos"><a href="https://github.com/gouz/muzik" title="source code" target="_blank">📝</a><span>/&nbsp;</span></div><canvas id="bg"></canvas><script src="https://w.soundcloud.com/player/api.js"></script><script src="404.683c0531.js" type="module"></script></body></html>
<!DOCTYPE html><html lang="en"><head><script type="module" src="index.b968aec0.js"></script><link rel="stylesheet" href="index.7b0f43f7.css"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>MuziK</title><link rel="icon" type="image/svg+xml" href="favicon.1e162f1f.svg"></head><body><h1></h1><div id="app"><div id="wrapper"><div id="title"></div><div id="jukebox"><div id="jukebox--box"><div id="jukebox--youtube"><div id="player"></div></div><div id="jukebox--soundcloud"><iframe scrolling="no" frameborder="no" width="640" allow="autoplay"></iframe></div></div></div><div id="controls"><div id="link"><a href="javascript:void(0);" onclick="window.getLink()" title="Link to share">🔗</a></div><div id="volume-control"><span>🔈</span><input id="volume" type="range" min="0" max="100" step="1" title="volume" defaultvalue="82" onchange="window.setVolume(this.value)" oninput="window.setVolume(this.value)"><span>🔊</span></div><div id="next"><a href="javascript:void(0);" onclick="window.nextSong();" title="new song (n)">🎵</a></div></div></div></div><div id="infos"><a href="https://github.com/gouz/muzik" title="source code" target="_blank">📝</a><span>/&nbsp;</span></div><canvas id="bg"></canvas><script src="https://w.soundcloud.com/player/api.js"></script><script src="404.d60c27e9.js" type="module"></script></body></html>
Binary file modified docs/404.html.br
Binary file not shown.
Binary file modified docs/404.html.gz
Binary file not shown.
1 change: 1 addition & 0 deletions docs/index.6565a3dc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added docs/index.6565a3dc.js.br
Binary file not shown.
Binary file added docs/index.6565a3dc.js.gz
Binary file not shown.
1 change: 0 additions & 1 deletion docs/index.b7e89f78.js

This file was deleted.

Binary file removed docs/index.b7e89f78.js.br
Binary file not shown.
Binary file removed docs/index.b7e89f78.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><script type="module" src="index.b968aec0.js"></script><link rel="stylesheet" href="index.7b0f43f7.css"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>MuziK</title><link rel="icon" type="image/svg+xml" href="favicon.1e162f1f.svg"></head><body><h1></h1><div id="app"><div id="wrapper"><div id="title"></div><div id="jukebox"><div id="jukebox--box"><div id="jukebox--youtube"><div id="player"></div></div><div id="jukebox--soundcloud"><iframe scrolling="no" frameborder="no" width="640" allow="autoplay"></iframe></div></div></div><div id="controls"><div id="link"><a href="javascript:void(0);" onclick="window.getLink()" title="Link to share">🔗</a></div><div id="volume-control"><span>🔈</span><input id="volume" type="range" min="0" max="100" step="1" title="volume" defaultvalue="82" onchange="window.setVolume(this.value)" oninput="window.setVolume(this.value)"><span>🔊</span></div><div id="next"><a href="javascript:void(0);" onclick="window.nextSong();" title="new song (n)">🎵</a></div></div></div></div><div id="infos"><a href="https://github.com/gouz/muzik" title="source code" target="_blank">📝</a><span>/&nbsp;</span></div><canvas id="bg"></canvas><script src="https://w.soundcloud.com/player/api.js"></script><script src="index.b7e89f78.js" type="module"></script></body></html>
<!DOCTYPE html><html lang="en"><head><script type="module" src="index.b968aec0.js"></script><link rel="stylesheet" href="index.7b0f43f7.css"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>MuziK</title><link rel="icon" type="image/svg+xml" href="favicon.1e162f1f.svg"></head><body><h1></h1><div id="app"><div id="wrapper"><div id="title"></div><div id="jukebox"><div id="jukebox--box"><div id="jukebox--youtube"><div id="player"></div></div><div id="jukebox--soundcloud"><iframe scrolling="no" frameborder="no" width="640" allow="autoplay"></iframe></div></div></div><div id="controls"><div id="link"><a href="javascript:void(0);" onclick="window.getLink()" title="Link to share">🔗</a></div><div id="volume-control"><span>🔈</span><input id="volume" type="range" min="0" max="100" step="1" title="volume" defaultvalue="82" onchange="window.setVolume(this.value)" oninput="window.setVolume(this.value)"><span>🔊</span></div><div id="next"><a href="javascript:void(0);" onclick="window.nextSong();" title="new song (n)">🎵</a></div></div></div></div><div id="infos"><a href="https://github.com/gouz/muzik" title="source code" target="_blank">📝</a><span>/&nbsp;</span></div><canvas id="bg"></canvas><script src="https://w.soundcloud.com/player/api.js"></script><script src="index.6565a3dc.js" type="module"></script></body></html>
Binary file modified docs/index.html.br
Binary file not shown.
Binary file modified docs/index.html.gz
Binary file not shown.
4 changes: 1 addition & 3 deletions src/js/404.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ const shuffle = (array) => {
window.pos = -1;

window.generateLink = () => {
return `${window.location.origin}${window.location.pathname}${sha1(
window.list[window.pos]
)}`;
return `${window.location.origin}/muzik/${sha1(window.list[window.pos])}`;
};

ready(() => {
Expand Down
4 changes: 1 addition & 3 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ const shuffle = (array) => {
window.pos = -1;

window.generateLink = () => {
return `${window.location.origin}${window.location.pathname}/${sha1(
window.list[window.pos]
)}`;
return `${window.location.origin}/muzik/${sha1(window.list[window.pos])}`;
};

ready(() => {
Expand Down

0 comments on commit 6cb4849

Please sign in to comment.