From 4c6009bc2c3ff5f657a806363e3bdf7cd83d4261 Mon Sep 17 00:00:00 2001 From: sct Date: Mon, 20 Sep 2021 08:05:13 +0900 Subject: [PATCH] fix(rt-api): correctly format movie urls --- server/api/rottentomatoes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/rottentomatoes.ts b/server/api/rottentomatoes.ts index f23694164..b9b00e108 100644 --- a/server/api/rottentomatoes.ts +++ b/server/api/rottentomatoes.ts @@ -109,7 +109,7 @@ class RottenTomatoes extends ExternalAPI { return { title: movie.name, - url: movie.url, + url: `https://www.rottentomatoes.com${movie.url}`, criticsRating: movie.meterClass === 'certified_fresh' ? 'Certified Fresh'