Initial commit
This commit is contained in:
commit
208e773d65
62 changed files with 4545 additions and 0 deletions
16
restart
Normal file
16
restart
Normal file
|
@ -0,0 +1,16 @@
|
|||
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);
|
||||
});
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue