type__error’s avatartype__error’s Twitter Archive—№ 12,005

  1. fucking CORS, I swear to god
    1. …in reply to @type__error
      Holy crap, this blew up, guess it’s relatable. I made emojinator.fun able to load images from remote URLs but to be able to serialize the canvas with a remote image you need to set Image.crossOrigin = “anonymous”. Many servers don’t have the Access-Control headers 😭
      1. …in reply to @type__error
        The best solution is obviously to have my own server, but I want to leave all the computing and network requests up to the browser so it doesn’t cost me!