From a676be0f0f842871a9ccbc439b59ab2d6145d9b9 Mon Sep 17 00:00:00 2001 From: Matchu Date: Thu, 20 May 2021 20:57:06 -0700 Subject: [PATCH] Use impress-outfit-images.openneo.net outfit URLs Oops, right, I meant to use the new `impress-outfit-images.openneo.net` host for this! It works just fine from `impress-2020.openneo.net` as the backing source right now, but I want these semi-permanent URLs to be a bit more decoupled. --- api/outfitPageSSR.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/outfitPageSSR.js b/api/outfitPageSSR.js index 69e5d9e..4af0ee1 100644 --- a/api/outfitPageSSR.js +++ b/api/outfitPageSSR.js @@ -80,7 +80,7 @@ async function handle(req, res) { `https://impress-2020.openneo.net/outfits` + `/${encodeURIComponent(outfit.id)}`; const imageUrl = - `https://impress-2020.openneo.net/outfits` + + `https://impress-outfit-images.openneo.net/outfits` + `/${encodeURIComponent(outfit.id)}` + `/v/${encodeURIComponent(updatedAtTimestamp)}` + `/600.png`;