Fix regression bug
Adding /api/preview