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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -