Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Static file serving in the url dict

#7

We dont yet have a nice way of serving a directory of static files from the URL map (or indeed a single file). Something like the following should be made possible:

app.urls = {
    '/scripts: { static: DOC_ROOT+'/static/scripts' }
}

and have it serve files (no dir index) with the correct doc type, and ideally the right cache headers – ETag, Last-Modified at the least

Reported by Ash Berlin · October 13th, 2009 @ 08:21 AM

State: resolved
Milestone: Release 0.1
Assigned to: Ash Berlin Ash Berlin

Activity

  1. Ash Berlin
    Ash Berlin
    • State changed from new to resolved

    October 19th, 2009 @ 03:23 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.