Commit ef135ac2 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 071d7b78
......@@ -71,7 +71,10 @@ async function run() {
port = randomInt(4000, 60000)
secret=await shellExec('head -c 16 /dev/urandom | xxd -ps')
secret=secret.stdout.replace('\n','')
if (data.domain ==='none')
domain=makedomain()
else
domain=data.domain
// domain='my.shaparak.ir'
combineSecret=getTlsSecret(domain,secret)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment