Unable to conect custom node webapp

hi all. im developing a custom webapp, who connect to my local rocketchat instance.
in postman and curl i can succesfully login and return success, but in javascript throws an error "Blocked cross-source request: The same source policy does not allow reading of remote resources on http://localhost:3000/api/v1/login. (Reason: CORS header ‘Access-Control-Allow-Origin’ not present). How i modify CORS policy in my snap installation?

Server Setup Information

  • Version of Rocket.Chat Server: 3.2.2
  • Operating System: ubuntu 20.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 12.8 stable
  • MongoDB Version:
  • Proxy: ?