fix: filter

This commit is contained in:
Cory Dransfeldt 2024-07-04 13:52:46 -07:00
parent 5a7beeae3f
commit 8ea14491b9
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -80,8 +80,8 @@ export default {
// mastodon // mastodon
mastoUsername: (url) => { mastoUsername: (url) => {
const url = new URL(post.author.mastodon) const parsedUrl = new URL(url)
return `${url.pathname.replace('/', '')}@${url.host}` return `${parsedUrl.pathname.replace('/', '')}@${parsedUrl.host}`
}, },
// feeds // feeds

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.9.18", "version": "19.9.19",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.9.18", "version": "19.9.19",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.9.18", "version": "19.9.19",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {