blob: b46058806028dcbe8b622f83eda1d913838dc760 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
const os = require("os");
module.exports = (req, res) => {
res.writeHead(200, {'Content-Type':'text/plain'});
const os = require('os');
res.write(
" _____ _ _ ____ ____\n" +
"| ____|__ _ _ _ ___ ___| |_ _ __(_) __ _| _ \\| __ )\n" +
"| _| / _` | | | |/ _ \\/ __| __| '__| |/ _` | | | | _ \\\n" +
"| |__| (_| | |_| | __/\\__ \\ |_| | | | (_| | |_| | |_) |\n" +
"|_____\\__, |\\__,_|\\___||___/\\__|_| |_|\\__,_|____/|____/\n" +
" |_|" +
"\n\n" +
"==============================\n" +
"Runtime Information:\n" +
" EquestriaDB version: " + variables.version + "\n NodeJS version: " + process.versions.node + "\n System: " + os.type() + " " + os.arch() + " " + os.release() + "\n User: " + os.userInfo().username + " (" + os.userInfo().uid + ":" + os.userInfo().gid + ")" +
"\n\n" +
"==============================\n" +
"Get libeqdb:\n" +
" PHP: -\n NodeJS: -\n JavaScript (browser): -\n Bash: -\n Python: -" +
"\n\n" +
"==============================\n" +
"About EquestriaDB:\n" +
" Setting up: -\n API: -\n Maintenance tasks: -\n Optimizations: -" +
"\n\n"
);
res.end();
}
|