Replace scanpeers() in index.js#L253 by mDNS / DNS-SD thanks to bonjour cf e.g. ~/Prototypes/aframe_bonjour_simplified_backend with
constos=require('os')varinstance=require('bonjour')()constport=process.env.PORT||8443process.title="aframe-server";// Set process name
instance.publish({name:'aframe-server-'+os.hostname(),type:'https',port:port})instance.find({type:'https'},function(service){console.log('Found an HTTPS server:',service)})constwebdav=require('webdav-server').v2constexpress=require('express')
example, namely being able to keep port and IP entirely dynamic on LAN and get instantaneous results without scanning.
Replace `scanpeers()` in `index.js#L253` by mDNS / DNS-SD thanks to `bonjour` cf e.g. `~/Prototypes/aframe_bonjour_simplified_backend` with
```javascript
const os = require('os')
var instance = require('bonjour')()
const port = process.env.PORT || 8443
process.title = "aframe-server"; // Set process name
instance.publish({ name: 'aframe-server-'+os.hostname(), type: 'https', port: port })
instance.find({ type: 'https' }, function (service) {
console.log('Found an HTTPS server:', service)
})
const webdav = require('webdav-server').v2
const express = require('express')
```
example, namely being able to keep port and IP entirely dynamic on LAN and get instantaneous results without scanning.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Replace
scanpeers()inindex.js#L253by mDNS / DNS-SD thanks tobonjourcf e.g.~/Prototypes/aframe_bonjour_simplified_backendwithexample, namely being able to keep port and IP entirely dynamic on LAN and get instantaneous results without scanning.
Should also help for #13 via
downevent on service.