Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (25 sloc) 599 Bytes


Quick example app to show how to deploy a websocket app using wss:// on nodejitsu

Do it

  1. npm install
  2. edit package.json:
    "name": "<your app name>",
    "subdomain": "<your subdomain>",
    "version": "<your version>",
  1. edit index.html:
    io.connect('wss://<your subdomain>');
  1. jitsu deploy

Test it

  1. sudo node server.js
  2. open http://localhost/
  3. click "connect"

It should show the messages in the console log, which means it communicated to your subdomain over wss://

Jump to Line
Something went wrong with that request. Please try again.