Thursday, 1 June 2017

Node.js and BrowserSync

I want to serve my static files from browsersync server, and handle post requests on node server.

I have the project on backbone.js, and I wanna add webrtc with possability to record this videos. For recording i wanna use recordrtc.js. But for posting files to the server I need to use the same port.

BrowserSync says I can't use server and proxy together to get this functionality.

How can I handle GET requests with browsersync server and POST requests with the node.js server on the same port?

To run browsersync and handle my source files I use gulp.



via Winni

No comments:

Post a Comment