Optimize stripe links (#2258)
This commit is contained in:
1 parent
a0bd011b80
commit
599f23c8aa
3 files changed
+20
-7
No files matched your search
@@ -77,13 +77,6 @@ export default defineNuxtConfig({
|
||||
title: "Modrinth mods",
|
||||
},
|
||||
],
|
||||
script: [
|
||||
{
|
||||
src: "https://js.stripe.com/v3/",
|
||||
defer: true,
|
||||
async: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
vite: {
|
||||
|
||||
@@ -108,6 +108,16 @@ useSeoMeta({
|
||||
ogDescription: description,
|
||||
});
|
||||
|
||||
useHead({
|
||||
script: [
|
||||
{
|
||||
src: "https://js.stripe.com/v3/",
|
||||
defer: true,
|
||||
async: true,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
const vintl = useVIntl();
|
||||
|
||||
const data = useNuxtApp();
|
||||
|
||||
@@ -344,6 +344,16 @@ definePageMeta({
|
||||
middleware: "auth",
|
||||
});
|
||||
|
||||
useHead({
|
||||
script: [
|
||||
{
|
||||
src: "https://js.stripe.com/v3/",
|
||||
defer: true,
|
||||
async: true,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
const data = useNuxtApp();
|
||||
const config = useRuntimeConfig();
|
||||
|
||||
|
||||
Reference in new issue
Block a user