gubsey
Any way to get the status of a multipart/form-data file upload?
I would like to be able to give the user some indication of how much of their file has completed uploading. As per the title, the form is of type "multipart/form-data". Is there any way to do this? Maybe some way to count the number of bytes sent?
2 replies
Signals not updating in <For> tag
I have code that looks like this:
This creates a random grid of red ang green squares. I want to be able to click any square and have the color flip. With logging, I found that the
grid
signal is updating, but the colors aren't changing. Am I completely misunderstanding signals here?47 replies
Content Security Policy Issues
When attempting to deploy with docker I get these errors in the console
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).
and
Content Security Policy: The page’s settings blocked the loading of a resource at http://localhost:4173/favicon.ico (“default-src”).
I am running with npm run serve --host
I can't find anything solid specific about this anywhere.1 replies