I would send a PR but my version comments out a line of code that works on your version https://www.val.town/v/stevekrouse/emojiExploder#L91
Any tips for me to fix it to make it PR-able? You are correct that my blob storage is load-bearing!
Two ideas that basically amount to the same thing:
Instead of getting it from your blob storage, make it a fetch that gets it from a public source like I do here https://www.val.town/v/stevekrouse/zwjEmoji#L6
If there is no public endpoint, expose an endpoint that let's people get only that route from your blob storage and then use that url to get the data in your function so it's accessible to others
https://jdan-emojiexploder.web.val.run
https://esm.town/v/jdan/emojiExploder
<script type="module" src="https://esm.town/v/jdan/emojiExploder" />
I would send a PR but my version comments out a line of code that works on your version https://www.val.town/v/stevekrouse/emojiExploder#L91
Any tips for me to fix it to make it PR-able? You are correct that my blob storage is load-bearing!
Two ideas that basically amount to the same thing:
Instead of getting it from your blob storage, make it a fetch that gets it from a public source like I do here https://www.val.town/v/stevekrouse/zwjEmoji#L6
If there is no public endpoint, expose an endpoint that let's people get only that route from your blob storage and then use that url to get the data in your function so it's accessible to others