Closed ghost closed 2 years ago
You can!
const gunLib = require("gun")
const server = require('http').createServer().listen(8080);
const gun = gunLib({
web: server
});
You just need to use this code! (It's all available in the documentation at https://gun.eco)
You can!
const gunLib = require("gun") const server = require('http').createServer().listen(8080); const gun = gunLib({ web: server });
You just need to use this code! (It's all available in the documentation at https://gun.eco)
There's also an official example https://github.com/amark/gun/blob/master/examples/http.js
Thanks a lot!!
Thanks legend! That worked for me as well!
Hi @amark just wanted know if there is any way we can make a relay server for gun