Skip to content

Commit 6d50173

Browse files
author
Tim Berners-Lee
committed
fix datauri
1 parent 9f33b68 commit 6d50173

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/noun_Camera_1618446_000000.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/toDataURI.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# from https://unix.stackexchange.com/questions/247843/how-to-generate-a-data-uri-from-an-image-file
33
mimetype=$(file -bN --mime-type "$1")
44
content=$(base64 < "$1")
5-
echo "module.export = ('data:$mimetype;base64,$content'"
5+
echo "module.exports = 'data:$mimetype;base64,$content'"
66
# ends

0 commit comments

Comments
 (0)