okawaffles / OkayuCDN

A File Upload Server based around Nekomata Okayu.
https://okayu.okawaffles.com
Other
2 stars 0 forks source link

View Button Misredirect (Okayu-Nightly) #35

Closed tacobella03 closed 6 months ago

tacobella03 commented 6 months ago

When trying to view an image using the "View" button on the Nightly server, it redirects you to http://localhost:2773/view/USER/FILENAME instead of the normal domain. Image Below shows the page it takes you to image The view page does still exist, you just have to enter the address manually by replacing http://localhost:2773 with https://okayu-nightly.catgirls.space/

This issue just seems like a misredirect and has been less than 24 hours since it started happening, so it probably started occuring after one of the commits yesterday.

tacobella03 commented 6 months ago

To update you on this issue, ALL the buttons (With the exception of the Delete button) redirect you to the domain starting http://localhost:2773. Shown Images: 1) Share button link 2) Download Button Link image image

okawaffles commented 6 months ago

server is misconfigured

tacobella03 commented 6 months ago

just so i know for future reference, could you tell me what classed this as invalid? Was it purely the fact that the server was misconfigured and wasn't an issue with OkayuCDN website itself but the server it was hosted on?

okawaffles commented 6 months ago

the server has its domain setting in config.json set to http://localhost:2773 i will change this when available

edit: clarification: this issue does not apply to the codebase as URLs are dynamically changed based on how the server is configured.

tacobella03 commented 6 months ago

thank you for clarifying. I will send these issues, since this was server issue, to you directly via email if i ever find bugs similar to this.