Link to audio files and those with custom folders properly

This commit is contained in:
James Woglom 2022-08-30 01:22:24 -04:00
parent 52e3307d99
commit 63baa1fc25
5 changed files with 39 additions and 19 deletions

View file

@ -150,6 +150,7 @@ if config.URL_PREFIX != '/':
routes.static(config.URL_PREFIX + 'favicon/', 'favicon')
routes.static(config.URL_PREFIX + 'download/', config.DOWNLOAD_DIR)
routes.static(config.URL_PREFIX + 'audio_download/', config.AUDIO_DOWNLOAD_DIR)
routes.static(config.URL_PREFIX, 'ui/dist/metube')
try:
app.add_routes(routes)