I have been successfully hosting static files in an S3 bucket for my Django web app using the Appwork custom admin template. The files render perfectly locally, but I am facing an issue with rendering from the S3 bucket. I suspect the problem lies in the script below which is referencing a folder path instead of a direct file.
<script>
window.themeSettings = new ThemeSettings({
cssPath: "{% static 'app/admin/assets/vendor/css/rtl' %}",
themesPath: "{% static 'app/admin/assets/vendor/css/rtl' %}",
});
</script>
How can I resolve this issue? I have verified that the bucket folder exists and contains the correct files.