title: Display a static html file with koa.js
body: <p>What I want to do is serve the index.html file when the index route (i.e. localhost:3000) is called.</p>
  
  <p>I use koa-router for routing, so my route looks like this:</p>
  
  <pre><code>app.all("/", function * (next){
      //Send the file here
  });
  </code></pre>
  
  <p>I tried to use koa-static like this:</p>
  
  <pre><code>var serve = require('koa-static');
   app.all("/", function * (next){
          serve("index.html");
      });
  </code></pre>
  
  <p>But that didn't work. Then I tried to use co-views (I put the html file in the public directory now):</p>
  
  <pre><code>var views = require("co-views");
  var render = views("public");
  app.all("/", function * (next){
      this.status = 200;
      this.body = yield render("index.html");
  });
  </code></pre>
  
  <p>But that didn't work.</p>
  
  <p>So can anyone tell me what I have to do?</p>