mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 10:29:20 +02:00
See #1100: clean compat and XXX in the code
This commit is contained in:
parent
b7f1c02c6f
commit
e271851f67
67 changed files with 203 additions and 328 deletions
|
@ -113,7 +113,7 @@ def get_spa_html(spa_url):
|
|||
|
||||
def get_spa_file(spa_url, name):
|
||||
if spa_url.startswith("/"):
|
||||
# XXX: spa_url is an absolute path to index.html, on the local disk.
|
||||
# spa_url is an absolute path to index.html, on the local disk.
|
||||
# However, we may want to access manifest.json or other files as well, so we
|
||||
# strip the filename
|
||||
path = os.path.join(os.path.dirname(spa_url), name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue