Is there a way to use staticFiles.externalLocation from inside a before filter? Currently, this gives me a This must be done before route mapping has begun error.
Use case: my before filter determines the subdomain that has been hit, and needs to set the static directory based on that.
Hello
Is there a way to use
staticFiles.externalLocation
from inside abefore
filter? Currently, this gives me aThis must be done before route mapping has begun
error.Use case: my before filter determines the subdomain that has been hit, and needs to set the static directory based on that.