diff options
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}`; -} |
