This example binds the websocket server, express APIs, and express static file serving to the same port. It runs on port 7123. Run the example usind ts-node (ts-node index.ts
) or compile the typescript (tsc
) and run with (node index.js
).
express-shared-port
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||