Git Product home page Git Product logo

Comments (13)

bachwehbi avatar bachwehbi commented on May 8, 2024

Plus 1 for this ticket
I definitely Agree with halfdan's comment.

from peerjs-server.

floatdrop avatar floatdrop commented on May 8, 2024

I think PeerServer should extend restify object to enable this feature (instead of keeping it in this._app. Also this will allow export application object to grunt-express-server.

from peerjs-server.

floatdrop avatar floatdrop commented on May 8, 2024

After some searching around - turns out, that restify can't be used with express.

from peerjs-server.

bergie avatar bergie commented on May 8, 2024

@floatdrop there is express-resource which should allow doing similar things as restify with Express

from peerjs-server.

floatdrop avatar floatdrop commented on May 8, 2024

@bergie yes, there is. I would write a pull-request to migrate from restify to express, but I don't know about repo owners thoughts on it.

from peerjs-server.

halfdan avatar halfdan commented on May 8, 2024

I'm very positive on moving from restify to express!

from peerjs-server.

michelle avatar michelle commented on May 8, 2024

As I mentioned in a separate thread, we actually switched FROM express to
restify. Happy to consider switching back.

Michelle

On Thu, Apr 3, 2014 at 7:27 AM, Fabian Becker [email protected]:

I'm very positive on moving from restify to express!


Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-39457213
.

from peerjs-server.

RangerMauve avatar RangerMauve commented on May 8, 2024

Any progress on this?
Maybe allowing the PeerJS server to be mounted on just a regular HTTP Server instance?

from peerjs-server.

guilleliss avatar guilleliss commented on May 8, 2024

Looking forward for this too !

from peerjs-server.

jimmywarting avatar jimmywarting commented on May 8, 2024

Can't wait 👍

from peerjs-server.

michelle avatar michelle commented on May 8, 2024

Sorry for the delay on this--I'll try to get out an expressjs peer server this weekend.

from peerjs-server.

minicuper avatar minicuper commented on May 8, 2024

To fix request.query for expressjs I use this express workaround:

expressApp.use(function(req, res, next){
  req.query = null;
  next();
})

the middlware should be first in express.

from peerjs-server.

minicuper avatar minicuper commented on May 8, 2024

Hi, how's it going with migration?

from peerjs-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.