toolness / p5.js-widget

A reusable widget for embedding editable p5 sketches in web pages.
https://toolness.github.io/p5.js-widget/
GNU Lesser General Public License v2.1
162 stars 44 forks source link

Error: URI Too Long #79

Closed Craig88 closed 3 years ago

Craig88 commented 3 years ago

Hey,

When I use a code fragment that is significantly long I get this error message "Error: URI Too Long"

Is there a solution for this?

Craig88 commented 3 years ago

I think I've resolved this by self hosting the widget...

AhmadMoussa commented 2 years ago

Sorry to bring this up again, but what do you mean exactly with self hosting the widget? Currently running into the same issue with a rather long chunk of code! Thanks in advance!

Craig88 commented 2 years ago

Hey @AhmadMoussa - I have installed the p5js-widget on my own web server. I think my administrator also had to adjust a setting on the server to make sure it could cope with a long URI. Hope this helps (sorry it's been a while since I set it up)