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
|
// 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
4
package-lock.json
generated
|
@ -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",
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Reference in a new issue