This commit is contained in:
HugoRCD
2025-05-19 12:48:33 +02:00
parent fbf7475e0d
commit 5b172b0fb3

View File

@@ -47,7 +47,7 @@ export default defineNuxtPlugin(() => {
innerHTML: () => root.value,
tagPriority: -2,
id: 'nuxt-ui-colors',
...(nonce.value ? { nonce: nonce.value } : {})
nonce: 'DKR5TndW9fEw7YgZtM9Fvw==' // ...(nonce.value ? { nonce: nonce.value } : {})
}]
}
@@ -59,7 +59,7 @@ export default defineNuxtPlugin(() => {
style.setAttribute('data-nuxt-ui-colors', '')
if (nonce.value) {
style.setAttribute('nonce', nonce.value)
style.setAttribute('nonce', 'DKR5TndW9fEw7YgZtM9Fvw==') // nonce.value)
}
document.head.appendChild(style)