You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 regels
460 B

const cp = require('child_process');
const express = require("express");
const path = require("path");
const mongoose = require("mongoose");
const bodyParser = require("body-parser");
const session = require('express-session');
const expressWs = require('express-ws');
codeserver = cp.execFile('sudo', [
'code-server',
'--user-data-dir=/root/codedata',
'--auth=none',
'--bind-addr=0.0.0.0:80'
], function(error, stdout, stderr) {
});
console.log("B");