qq99 / echoplexus

Socket.io powered chat, JavaScript REPL, whiteboard, and WebRTC calls
Other
394 stars 53 forks source link

Return 404 for resources in sandbox/ js/ fonts/ images/ that don't exist #211

Open qq99 opened 10 years ago

qq99 commented 10 years ago

We handle all other URLs as requests to join/create a channel But we know that anything with a base of:

can be resolved to an actual file resource. We can be bit smarter and prevent at least false positive dev errors by returning 404 instead of simply serving up index.dev.html with 200 when it doesn't match a static file