Skip to content

Support overriding welcome_screen? #244

Description

@Zarel

Currently, navigating to a SockJS server just displays Welcome to SockJS!

welcome_screen(req, res) {
res.setHeader('Content-Type', 'text/plain; charset=UTF-8');
res.writeHead(200);
res.end('Welcome to SockJS!\n');
},

It could be useful to override this with a custom message, such as a redirect to whatever webapp the SockJS server is a server for.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions