amw2104 / HSReplayParser

A python parser for the .hsreplay Hearthstone replay file format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reuse STATIC_HOST in assets/textures loader in replay_detail.html

jleclanche opened this issue · comments

The following should reuse settings.STATIC_HOST:

         Joust.viewer('joust-container')
             .metadata(cb)
             .assets("//static.hsreplay.net/static/joust/assets/")
             .textures("//static.hsreplay.net/static/joust/textures/")
             .fromUrl('{{ replay_data_url }}');