Skip to content

Commit

Permalink
Merge pull request #84 from getvmio/lhb_dev
Browse files Browse the repository at this point in the history
fix: gsc issues
  • Loading branch information
Nomango authored Jul 1, 2024
2 parents 11fdf67 + 35fcf60 commit 702a33b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default defineNuxtConfig({
],

routeRules: {
'/templates/**': { redirect: '/playgrounds/**' },
'/templates/**': { redirect: { to: '/playgrounds/**', statusCode: 301 } },
},

ui: {
Expand Down
10 changes: 10 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<script setup lang="ts">
const { t, locale } = useI18n();
const route = useRoute();
useHead(() => ({
link: [
{
rel: 'canonical',
href: 'https://getvm.io' + route.path,
},
],
}));
const shines = computed(() => [
{
img: '/images/wgs-01.svg',
Expand Down

0 comments on commit 702a33b

Please sign in to comment.