For anyone who might see this, somehow the problem was fixed by typing ‘html’ in the ‘output path’ section of the ‘Online’ tab in Settings. I still have a resources folder within a resources folder, but while it may look silly it works online now! I got this solution from another thread:
So thanks to user Sabinosaurus for sharing their solution!