How to find the domain name sent by htmlexe to remote server? In past have simply used “heserver” in exeout with some success, htmlexe 2024 is not being friendly with me:)
For instance, I have this on a server:
function enableCORS(req, res, next) {
const allowedDomains = ['example.net', 'heserver', 'example.com'];
const origin = req.headers.origin;
const referer = req.headers.referer;
The above worked with exeout but not htmlexe.
Normally can get some info using:
console.log(document.referrer);
Any help / advice / assistance appreciated.