function createRouter(options) {
  const router = express.Router(); // eslint-disable-line new-cap

  // GET /viewer/origin
  router.get(
    '/origin',
    handleAsyncError(async (_, res) => {
      res.json({viewerOrigin: options.viewer?.origin});
    })
  );

  return router;
}
@param {LHCI.ServerCommand.Options} options
@return {import('express').Router}