diff --git a/src/router/routes_v1/files.js b/src/router/routes_v1/files.js index e80b6adf..fb2fb209 100644 --- a/src/router/routes_v1/files.js +++ b/src/router/routes_v1/files.js @@ -61,6 +61,9 @@ router.get( const publicUrl = publicEndPoint ? url.replace(endPoint, publicEndPoint) : url; + console.log(publicUrl); + console.log(cleanProductionURL(publicUrl)); + console.log(process.env.NODE_ENV); res.json({ url: process.env.NODE_ENV === 'production' ? cleanProductionURL(publicUrl) : publicUrl, });