mirror of
https://github.com/Cameri/nostream.git
synced 2025-08-09 04:31:59 +02:00
feat: automatic onion services
This commit is contained in:
@@ -65,7 +65,7 @@ export class App implements IRunnable {
|
|||||||
|
|
||||||
const host = `${hostname()}:${port}}`
|
const host = `${hostname()}:${port}}`
|
||||||
addOnion(torHiddenServicePort, host).then(value=>{
|
addOnion(torHiddenServicePort, host).then(value=>{
|
||||||
debug('tor hidden service address: %s:%d', value, torHiddenServicePort)
|
logCentered(`tor hidden service address: ${value}:${torHiddenServicePort}`, width)
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
console.error('Unable to add Tor hidden service. Skipping.', error)
|
console.error('Unable to add Tor hidden service. Skipping.', error)
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user