~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/app/websrv/websrv.c

  • Committer: Jiri Svoboda
  • Date: 2012-04-05 22:42:51 UTC
  • Revision ID: jiri@wiwaxia-20120405224251-l7sx79xi2488v3ko
We can now use .html extension.

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
static int uri_get(const char *uri, int conn_sd)
200
200
{
201
201
        if (str_cmp(uri, "/") == 0)
202
 
                uri = "/index.htm";
 
202
                uri = "/index.html";
203
203
        
204
204
        char *fname;
205
205
        int rc = asprintf(&fname, "%s%s", WEB_ROOT, uri);