temp fix to error pages and added asset host to config