12 lines
266 B
JavaScript
12 lines
266 B
JavaScript
function report(r) {
|
|
var s = "";
|
|
const keys = Object.keys(process.env).sort();
|
|
for (const i in keys) {
|
|
const k = keys[i];
|
|
const v = process.env[k];
|
|
s += k + '=' + v + "\n";
|
|
}
|
|
r.return(200, s);
|
|
}
|
|
|
|
export default { report }; |