Sinatra doesn’t know this ditty.

Try this:
get '/posts/2017-06-24-esp32-dual-core/' do
  "Hello World"
end