allow global basePath for all resources.