Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove connect properly #53

Merged
merged 4 commits into from
Oct 20, 2024
Merged

Remove connect properly #53

merged 4 commits into from
Oct 20, 2024

Conversation

nickbrowne
Copy link
Contributor

I missed a bit when removing connect which was... quite important! (the part where it attaches to the server...)

Fortunately we can make use of express 4.x no longer needing/depending on connect and just attach to it directly.

To test this locally you can just fire up the ./bin/exampleserver, but the tests cover it as well (most of them have changed to use the plain express option, as I just deleted the method ShareJS had for creating it's own http server).

express 4 no longer depends on connect, and we can attach the
ShareJS server without it.
Not necessary and too annoying to port to express 4.x
Copy link
Contributor

@tiagoamaro tiagoamaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running this with the example server and collaborative editing still works as usual!

@nickbrowne nickbrowne merged commit c7d1716 into master Oct 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants