Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
3
stevekrouse avatar

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

jdan avatar

Any tips for me to fix it to make it PR-able? You are correct that my blob storage is load-bearing!

stevekrouse avatar
stevekrouse(Edited )

Two ideas that basically amount to the same thing:

  1. 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

  2. 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

jdan-emojiexploder.web.val.run
Updated: June 15, 2024