Skip to content

Commit 20f8b0f

Browse files
committed
fix: use asset host in production if given
1 parent ccd78be commit 20f8b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lucky_vite/tags.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module LuckyVite::Tags
4343
return unless styles = asset[:css]?
4444

4545
styles.each do |file|
46-
css_link file{% unless options.empty? %}, {{options.double_splat}}{% end %}
46+
css_link LuckyVite::AssetHelpers.dynamic_asset(file){% unless options.empty? %}, {{options.double_splat}}{% end %}
4747
end
4848
end
4949

0 commit comments

Comments
 (0)