You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 15, 2022. It is now read-only.
staticrefuseToRunAsRoot(){// Refuse to run if this is the root account.if(process.env.USER==='root'&&process.env.SUDO_USER===undefined){// This is an attempt to run Site.js from the root account.// Reject for security reasons.console.log(`\n ❌ ${clr('❨site.js❩ Error:','red')} Refusing to run from the root account for security reasons.\n`)console.log(` ${clr('Please create and use an account with regular privileges to run Site.js.','yellow')}\n`)process.exit(1)}}