Create a .env file:
SERVERS=https://gunjs.herokuapp.com/gun
npm i
npm run dev
Create a now.json file:
{
"build": {
"env": {
"SERVERS": "https://gunjs.herokuapp.com/gun"
}
}
}
Deploy:
now