Works in development, not in production

I have no experience or knowledge about deployments, so hopefully someone else can help you more.
Does any of this help (make sure to fork your repl first in case it doesn’t work):

Also, there is a slightly related topic about a new feature: