I have a logo that is residing at the public/images/logo.gif
. Here is my nodejs code.
http.createServer(function(req, res){
res.writeHead(200,
//This method involves directly integrating HTML Code in the res.write
//first time posting to stack ...pls be kind
const express = require('express');
const app = express();
const https = require('https');
app.get("/",function(res,res){
res.write("");
res.send();
});
app.listen(3000, function(req, res) {
console.log("the server is onnnn");
});