Re-add <div data-audio-base-url></div>

This commit is contained in:
0x1eef 2024-10-21 22:44:27 -03:00
parent a36be6aca9
commit 699851f833
2 changed files with 5 additions and 1 deletions

1
Rules
View file

@ -38,6 +38,7 @@ compile("/js/index.tsx") do
end
compile("/html/index.html") do
filter(:erb)
write("/index.html")
locales.each do |locale|
write("/#{locale}/index.html")

View file

@ -6,7 +6,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
</head>
<body>
<div class="app mount root h-full"></div>
<div
class="app mount root h-full"
data-audio-base-url="<%= audio_base_url %>">
</div>
<script src="/js/index.js"></script>
</body>
</html>