Skip to content

Commit 8ce17f0

Browse files
committed
DEPLOY_PRIME_URL
1 parent 154d660 commit 8ce17f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "netlify-plugin-cloudinary",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "",
55
"main": "src/index.js",
66
"scripts": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
if ( !imgSrc.startsWith('/') ) {
2626
cloudinarySrc = `/${cloudinarySrc}`;
2727
}
28-
cloudinarySrc = `${process.env.DEPLOY_URL}${cloudinarySrc}`;
28+
cloudinarySrc = `${process.env.DEPLOY_PRIME_URL}${cloudinarySrc}`;
2929
}
3030

3131
cloudinarySrc = `https://res.cloudinary.com/${CLOUD_NAME}/image/fetch/${cloudinarySrc}`;

0 commit comments

Comments
 (0)