Skip to content

Commit

Permalink
Merge pull request #171 from matsn0w/fix/og-image-url
Browse files Browse the repository at this point in the history
fix: og image path
  • Loading branch information
matsn0w committed Nov 21, 2023
2 parents a204656 + ab8f23c commit f7bf019
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/pages/configurator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ useSeoMeta({
ogTitle: "MISS-ELS VCF Configurator",
ogDescription:
"Using our VCF Configurator, you can easily generate configuration files for your vehicles.",
ogImage: `${url.origin}/images/MISS-ELS.png`,
ogImage: `${url.origin + config.app.baseURL}images/MISS-ELS.png`,
});

const isVcfSchemaVersionUpToDate = computed(() => {
Expand Down
3 changes: 2 additions & 1 deletion web/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@

<script setup lang="ts">
const url = useRequestURL();
const config = useRuntimeConfig();
useSeoMeta({
ogSiteName: "MISS-ELS",
title: "MISS-ELS - server sided sirens for FiveM",
ogTitle: "MISS-ELS - server sided sirens for FiveM",
ogDescription:
"Server-sided ELS for FiveM with custom patterns per vehicle, custom sirens, indicator control and more!",
ogImage: `${url.origin}/images/MISS-ELS.png`,
ogImage: `${url.origin + config.app.baseURL}images/MISS-ELS.png`,
});
definePageMeta({
Expand Down

0 comments on commit f7bf019

Please sign in to comment.