I deployed a Node.JS HTTPS server, and it loads my frontend, but the issue happens when I click on a form on my frontend, it screws up.
var fs = require('fs');
var options = {
key: fs.readFileSync('./key.pem'),
cert: fs.readFileSync('./cert.pem')
};
var server = http.createServer(options, app);
In my frontend, I specifically have prevent default, but it does something like:
https://localhost:8443/?u=q%40q.com&p=qqqqqq
But when I have an HTTP server, it works perfectly. What is the issue?
via user7361206
No comments:
Post a Comment