FastAPI - File Handling
You want to serve two different static folders in your FastAPI app: 'images' at '/img' and 'scripts' at '/js'. Which code correctly mounts both folders?
app.mount(path, StaticFiles(directory=folder), name=alias) for each static folder.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions