Skip to content

Commit

Permalink
Add crossOrigin to preload link
Browse files Browse the repository at this point in the history
  • Loading branch information
ecarrara committed Nov 10, 2023
1 parent 70a1b11 commit f7606ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export default defineNuxtModule<ModuleOptions>({
key: 'gf-preload',
rel: 'preload',
as: 'style',
crossOrigin: options.crossOrigin,
href: url
})
}
Expand Down

0 comments on commit f7606ce

Please sign in to comment.