Update pathToAssets for assets from content and update path so it has a beginning slash on development and not in distribution