Emitting node.js views and scripts as snippets -
i have built node.js app realize "snippets" included in external web applications. means must create javascript scripts included , called external apps call node.js view , scripts/css .
does node.js provide way natively or have create script embeds view , related client libraries?
enable cross-origin resource sharing:
cross-origin resource sharing (cors) specification enables open access across domain-boundaries. if serve public content, please consider using cors open universal javascript/browser access.
must read: http://enable-cors.org/#how-expressjs
important stuff:
access-control-allow-origin access-control-allow-headers
Comments
Post a Comment