ServerOptions are unusable

What

When importing the package in order to use it programmatically in a node server, the trustedOrigins value passed does not get parsed -- an error tells us that you can't access split of undefined.

Workaround

Using a .env file at the root of the project, with relevant BEAVUCK_TIME_... values, is a working alternative. That means calling startServer() without passing the options argument.

For up-to-date documentation on those environment variables, see README.md

Assignee Loading
Time tracking Loading