R2Northstar / NorthstarMasterServer

Master server for Northstar
MIT License
92 stars 33 forks source link

Added 404 page #80

Closed taskinoz closed 2 years ago

taskinoz commented 2 years ago

Thought it might be better than having a raw json error

image

GeckoEidechse commented 2 years ago

Noice :D

The only potential that comes to mind is that Internet background noise scanning random pages will hit 404s a lot which will also trigger downloading the video. Given however that video is cached on CloudFlare edge that's probably not gonna be an issue ^^

@barnabwhy wanna maybe take a look and leave review so I can merge it?

barnabwhy commented 2 years ago

@GeckoEidechse it should be fine given it's cached and the status code is set. Any non-humans that encounter 404 tend to not attempt to render the web page

taskinoz commented 2 years ago

I could look at making it much smaller and just having an image or svg instead of a video

GeckoEidechse commented 2 years ago

I could look at making it much smaller and just having an image or svg instead of a video

Nah, it's fine. As barnaby said, it's likely not an issue. We'll just test in prod and if we start noticing issues with MS, we just revert and go for lower bandwidth solution ^^

pg9182 commented 2 years ago

If you are planning to continue working on this, it needs to be re-submitted against R2Northstar/NorthstarTF and R2Northstar/Atlas.