diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-01-30 12:41:01 -0500 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-01-30 12:41:01 -0500 |
| commit | cd0b07b3adb36fb5ec098f9e511ab45d774fee7b (patch) | |
| tree | a203e5010219ccea1acc6bbd2c0a4bcfa0a78615 /lib/image.js | |
| parent | 0a1648bf47490b312169c531aeb51ef4725e8d2e (diff) | |
Move to Prisma Backend
Diffstat (limited to 'lib/image.js')
| -rw-r--r-- | lib/image.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/image.js b/lib/image.js deleted file mode 100644 index 5b6efb9..0000000 --- a/lib/image.js +++ /dev/null @@ -1,6 +0,0 @@ -import { imageEndpoint } from '../config'; - -export default function(image, width = 300, height = 300) { - if (!image || !image.secret) return ''; - return `${imageEndpoint}/${image.secret}/${width}x${height}`; -} |
