Custom 404 is not working

@hrishikesh, I just visited https://www.bubblebreaker.ml/afsdfsfsdf#Home and it loaded your home page with a 404, which is what you’re trying to do based on your redirects:

[[redirects]]
  from = "/*"
  to = "/index.html"
  status = 404
[[headers]]
  for = "/*"
    [headers.values]
    Access-Control-Allow-Origin = "*"

Also note that fragments (the part after the #) aren’t processed server-side only the client browser does anything with them and they typically aren’t sent to a server.

1 Like