mirror of
https://github.com/alexta69/metube.git
synced 2025-04-04 12:47:38 +03:00
Link to audio files and those with custom folders properly
This commit is contained in:
parent
52e3307d99
commit
63baa1fc25
5 changed files with 39 additions and 19 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue