You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Is it possible to add Access-Control-Allow-Origin header to localServer responses ?
I'm trying to load images and videos from file system and take snapshots from them with html2canvas https://github.com/niklasvh/html2canvas. But since files are served from localServer, I need them to be served with res.setHeader("Access-Control-Allow-Origin", "*");
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi,
Is it possible to add Access-Control-Allow-Origin header to localServer responses ?
I'm trying to load images and videos from file system and take snapshots from them with html2canvas
https://github.com/niklasvh/html2canvas. But since files are served from localServer, I need them to be served with
res.setHeader("Access-Control-Allow-Origin", "*");
Thanks in advance.
The text was updated successfully, but these errors were encountered: