mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-03-02 04:09:58 +00:00
Fix JSON serialization
This commit is contained in:
@@ -46,9 +46,11 @@
|
||||
</div>
|
||||
|
||||
<script id="watched_data" type="application/json">
|
||||
<%=
|
||||
{
|
||||
"csrf_token": "<%= URI.encode_www_form(env.get?("csrf_token").try &.as(String) || "") %>"
|
||||
}
|
||||
"csrf_token" => URI.encode_www_form(env.get?("csrf_token").try &.as(String) || "")
|
||||
}.to_pretty_json
|
||||
%>
|
||||
</script>
|
||||
<script src="/js/watched_widget.js"></script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user