Update static file security and add 404 view