fix: filter
This commit is contained in:
parent
5a7beeae3f
commit
8ea14491b9
3 changed files with 5 additions and 5 deletions
|
@ -80,8 +80,8 @@ export default {
|
|||
|
||||
// mastodon
|
||||
mastoUsername: (url) => {
|
||||
const url = new URL(post.author.mastodon)
|
||||
return `${url.pathname.replace('/', '')}@${url.host}`
|
||||
const parsedUrl = new URL(url)
|
||||
return `${parsedUrl.pathname.replace('/', '')}@${parsedUrl.host}`
|
||||
},
|
||||
|
||||
// feeds
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "19.9.18",
|
||||
"version": "19.9.19",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "19.9.18",
|
||||
"version": "19.9.19",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@cdransf/api-text": "^1.4.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "19.9.18",
|
||||
"version": "19.9.19",
|
||||
"description": "The source for my personal site. Built using 11ty.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
Reference in a new issue