Working with statically linked directories/files

We had been using Sanic 21 on Ubuntu 20 and could create a static link in the static/img directory that pointed to a place on our file system. We could then show images from any directories pointed to by the link. We just updated to 23.12.1 and this no longer works.

For example, if I have file1.png in static/img, this works:

$('#pngDiv').prepend('<img src="/static/img/file1.png">')

but if I move it to the processed dir, this does not work (gives a 404 error):

$('#pngDiv').prepend('<img src="/static/img/processed/file1.png">')

Thanks for any ideas!``