Update footer
This commit is contained in:
parent
9e4626daa4
commit
e12152f7a8
3 changed files with 5 additions and 6 deletions
|
@ -38,9 +38,8 @@ function looseMatch(needle, haystack, type) {
|
|||
}
|
||||
|
||||
export function* lookupId(id, type) {
|
||||
console.log(id);
|
||||
const token = yield spotify.clientCredentialsGrant();
|
||||
spotify.setAccessToken(token.body['access_token']);
|
||||
spotify.setAccessToken(token.body.access_token);
|
||||
let data = yield spotify[`get${type.charAt(0).toUpperCase()}${type.slice(1)}s`]([id]);
|
||||
|
||||
data = data.body[`${type}s`][0];
|
||||
|
@ -88,7 +87,7 @@ export function* lookupId(id, type) {
|
|||
|
||||
export function* search(data, original = {}) {
|
||||
const token = yield spotify.clientCredentialsGrant();
|
||||
spotify.setAccessToken(token.body['access_token']);
|
||||
spotify.setAccessToken(token.body.access_token);
|
||||
|
||||
const markets = ['US', 'GB', 'JP', 'BR', 'DE', 'ES'];
|
||||
function cleanParam(str) {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
<footer class="footer">
|
||||
<div class="container has-text-right">
|
||||
<a href='https://twitter.com/combinefm'>Tweet</a> or <a href='https://gitlab.com/kudos/combine.fm'>Fork</a>. A work in progress by <a href='http://crem.in'>this guy</a>.
|
||||
<a href='https://mastodon.social/@combine'>Toot</a>, <a href='https://twitter.com/combinefm'>Tweet</a> or <a href='https://github.com/kudos/combine.fm'>Fork</a>. A work in progress by <a href='http://crem.in'>this guy</a>.
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
<title>Combine.fm • <%=head.title%></title>
|
||||
<link rel="stylesheet" href="/dist/<%=manifest['style/main.css']%>" />
|
||||
|
||||
<meta name='description' content='Combine.fm matches album and track links from Youtube, Spotify, Google Music, Apple Musicm, Groove Music and Deezer and give you back one link with matches we find on all of them.' />
|
||||
<meta name='description' content='Combine.fm matches album and track links from Youtube, Spotify, Google Music, Apple Music, Amazon Music and Deezer and gives you back one link with matches we find on all of them.' />
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1' />
|
||||
<meta name='theme-color' content='#FE4365' />
|
||||
<meta name='twitter:card' content='<%=typeof share == 'undefined' ? 'summary': 'summary_large_image'%>' />
|
||||
<meta name='twitter:site' content='@Combinefm' />
|
||||
<meta name='twitter:title' property='og:title' content='Combine.fm • <%=head.title%>' />
|
||||
<meta name='twitter:description' property='og:description' content='Combine.fm matches album and track links from Youtube, Spotify, Google Music, Apple Musicm, Groove Music and Deezer and give you back one link with matches we find on all of them.' />
|
||||
<meta name='twitter:description' property='og:description' content='Combine.fm matches album and track links from Youtube, Spotify, Google Music, Apple Music, Amazon Music and Deezer and gives you back one link with matches we find on all of them.' />
|
||||
<meta name='twitter:image:src' property='og:image' content='<%=head.image%>' />
|
||||
<meta property='og:url' content='<%=head.shareUrl%>' />
|
||||
<link rel='shortcut icon' href='/assets/images/favicon.png' />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue