Configuration

> Published on Wed, 24 Jul 2024, 19:23> Updated on Wed, 24 Jul 2024, 19:30

The server can be configured by editing the config.js file in which you can set the ports for both the server and the websocket.

js
const config = {
  ports: {
    http: 7776,
    ws: 7777,
  },
};

export default config;

Adapt the port number in the examples below if you changed it in the config file.

Something is wrong in this documentation? Please open an issue on GitHub in simple-bar-server repo.