diced / zipline

A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
https://zipline.diced.sh/
MIT License
1.31k stars 128 forks source link

Bug: 404 Error Makes A 200 Status Code & Embed Views Per File #534

Closed L7NEG closed 6 months ago

L7NEG commented 7 months ago

What happened?

When Setting URLS_ROUTE and UPLOADER_ROUTE to / the 404 wont work it just tells the server that it is a status code 200 Screenshot 2024-02-03 194756 Screenshot 2024-02-03 194805 Like It Works For What After The First slash ex https://e-z.ftp.sh/hhhh/wwiwiw image

But Not With https://e-z.ftp.sh/hhhh image Screenshot_2024-02-03_042203

and for the Embed Views Per File I Mean When i turn Off Embedded The Views For It Works FIne Screenshot_2024-02-03_003429 Screenshot_2024-02-03_003515

But If I Toggle It On It Wont Work It Just hows The Views To 0 Screenshot_2024-02-03_003527 Screenshot_2024-02-03_003607 Screenshot_2024-02-03_003623

Version

latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)

What browser(s) are you seeing the problem on?

all chromium and firefox based

Zipline Logs

No response

Browser Logs

No response

Additional Info

No response

diced commented 6 months ago

the logs are a lie and just say 200 - if you check network logs in developer tools you should see a 404 status code. This is going away in v4 anyway.