Skip to content
Advertisement

Tag: server

res.redirect() not working properly in express JS

I’ve been working on creating an API for a blockchain I’ve made. Everything was going fine, until I updated Node and Windows… ====== ISSUE ====== After performing a POST request, I cannot redirect to a GET page anymore. (Using Postman only no front end yet). For some reason, it was working fine and now I can’t do it in a

I am getting a 404 error when attempting to load a background-image from CSS. Unsure how to proceed

I have searched through several posts regarding this same issue but none seem to resolve my problem. I am getting this 404 error in my console: index.css:1 GET http://localhost:5500/assets/css/assets/css/Battleship-Wallpaper.jpeg 404 (Not Found) I have the image saved in .jpeg format inside of my CSS folder. I am attempting to link the relative path and set the background image like so:

How to save excel workbook using Javascript

I have created an HTML form that takes in user data and using exceljs and a few other libraries I store this data into an excel spreadsheet. This part of my code works perfectly fine. However, when I refresh the server, the data stored in the excel file previously gets deleted. I believe the reason is that I could not

Advertisement