firepup-site/restart

16 lines
408 B
Text
Raw Permalink Normal View History

2023-10-01 23:39:12 +00:00
old code for image requests:
/*
var options = {
host: 'image-hosting.firepup650.repl.co',
path: path,
method: 'GET'
};
var request = http.get(options, function(response) {
res.writeHead(response.statusCode, {
'Content-Type': response.headers['content-type']
});
response.pipe(res);
}).on("error", function(e) {
console.log("Got error: " + e.message, e);
});
*/