Skip to content

Commit

Permalink
chore: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeraa committed Jul 14, 2024
1 parent a81dc95 commit 9634ace
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
13 changes: 8 additions & 5 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ useHead({
],
});
useHead({
script: [
{ src: "/cdn-cgi/challenge-platform/scripts/jsd/main.js", crossorigin: "anonymous", referrerpolicy: "origin" },
],
}, { mode: "client" });
//* Cloudflare specific
if (import.meta.env.PROD) {
useHead({
script: [
{ src: "/cdn-cgi/challenge-platform/scripts/jsd/main.js", crossorigin: "anonymous", referrerpolicy: "origin" },
],
}, { mode: "client" });
}
const { t } = useI18n();
Expand Down
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ export default defineNuxtConfig({
image: {
domains: ["cdn.rcd.gg"],
ipx: {
http: {
domains: ["cdn.rcd.gg"],
},
maxAge: 60 * 60 * 24 * 30,
},
},
Expand Down

0 comments on commit 9634ace

Please sign in to comment.