Feature request: Sub-Domains for staticDir:public

Bug #579575 reported by Roch Delsalle on 2010-05-12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
play framework

Bug Description

It would be nice to be able to route the staticDir to a sub-domain or another domain.
That would be helpful for a CDN hosting of the static dir.

Roch Delsalle (mnml) on 2010-05-12
description: updated
Michael Boyd (mic-t-boyd) wrote :

I'm also hoping for this.

My routing file has:

GET mysite.com/staticresources/ staticDir:public/mysite
GET mycdn.net/staticresources/ staticDir:public/mycdn

But when I use @@{'/public/mycdn/css/main.css'} in templates, the output is wrong:


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers