title: API Routing SPA
body: <p>I'm looking for a solution to redirect all non-server defined routes to index.html.
  You can do this by matching</p>
  
  <pre><code>GET("/**") { ServerResponse.ok().contentType(MediaType.TEXT_HTML).syncBody(indexHtml) }
  </code></pre>
  
  <p>The issue with this approach is that it will override all server defined routes, including static files. </p>