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
Copy file name to clipboardExpand all lines: samples/Node.js/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,6 @@ File chunks will be uploaded to samples/Node.js/tmp directory.
14
14
15
15
## Enabling Cross-domain Uploads
16
16
17
-
If you would like to load the resumable.js library from one domain and have your Node.js reside on another, you must allow 'Access-Control-Allow-Origin' from '*'. Please remember, there are some potential security risks with enabling this functionality. If you would still like to implement cross-domain uploads, open app.js and uncomment lines 24-31 and uncomment line 17.
17
+
If you would like to load the flow.js library from one domain and have your Node.js reside on another, you must allow 'Access-Control-Allow-Origin' from '*'. Please remember, there are some potential security risks with enabling this functionality. If you would still like to implement cross-domain uploads, open app.js and uncomment lines 24-31 and uncomment line 17.
18
18
19
19
Then in public/index.html, on line 49, update the target with your server's address. For example: target:'http://www.example.com/upload'
0 commit comments