Static files in private repl are not served

Bug description:

Static files that go together with index.html are not served
When I deploy the project - assets are served fine, 404 when trying to preview in webview or preview link
Expected vs Current Behavior:
Currently:

Request URL:
https://pacman-game--andriy4.repl.co/assets/loader.png
Request Method:
GET
Status Code:
404 Not Found

Expected: to work as if static files were deployed

Steps to reproduce:

Bug appears at this link: https://replit.com/@andriy4/pacman-game#index.html

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Replit Profile: https://replit.com/@andriy4

The way I created this project is by uploading from the local computer and then moving everything from the folder to the root folder

Ended up serving it all from the nodejs express

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.