fix: url consistency
This commit is contained in:
parent
54b08d5b4b
commit
a7bf71f1b3
3 changed files with 5 additions and 5 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "17.4.7",
|
||||
"version": "17.4.8",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "17.4.7",
|
||||
"version": "17.4.8",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@cdransf/api-text": "^1.2.3",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "17.4.7",
|
||||
"version": "17.4.8",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
@ -64,7 +64,7 @@ export default async function() {
|
|||
return {
|
||||
title: formattedData['content'],
|
||||
description: formattedData['description'],
|
||||
url: `https://coryd.dev/music?ts=${chart['week']}`,
|
||||
url: `https://coryd.dev/music?ts=${chart['week']}#artists`,
|
||||
date: chart['date']
|
||||
}
|
||||
})
|
||||
|
@ -85,7 +85,7 @@ export default async function() {
|
|||
|
||||
const aggregatedData = aggregateData(listens)
|
||||
const artistNames = aggregatedData.map(artist => artist.name)
|
||||
let { data: artistsData, error: artistsError } = await supabase
|
||||
let { error: artistsError } = await supabase
|
||||
.from('artists')
|
||||
.select('name_string, genre, mbid')
|
||||
.in('name_string', artistNames)
|
||||
|
|
Reference in a new issue