Skip to content

Commit

Permalink
fix: update url in slug
Browse files Browse the repository at this point in the history
  • Loading branch information
“gabrielcaiana” committed Nov 22, 2021
1 parent cc1e763 commit 4b05e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pages/articles/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default {
type: "article",
title: this.article.title,
description: this.article.description,
url: `${this.$config.baseUrl}/articles/${this.$route.params.slug}`,
url: `${this.$config.axios.browserBaseURL}/articles/${this.$route.params.slug}`,
mainImage: this.article.img,
};
return getSiteMeta(metaData);
Expand Down
1 change: 1 addition & 0 deletions utils/getSiteMeta.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const description =
"I'm a 24-year-old software developer working primarily with JavaScript | TypeScript | Vue and Nuxt. Passionate about technology, innovation and UX | User interface design."
const mainImage = '/images/me.jpg'


export default (meta) => {
return [
{
Expand Down

0 comments on commit 4b05e42

Please sign in to comment.