Die Ressource aus "http: // localhost: 9000/userProfilefunctions.js" wurde
aufgrund des MIME-TYPT ("text/html") blockiert
(x-content -Typ-Optionen: nosniff). Problem. Ich habe sogar den Express-App.use-Header auf "X-Content-Typ-Optionen: NoSniff" festgelegt, aber es funktioniert immer noch nicht < /p>
Main.html
Code: Select all
[h4]GET REQUEST USERS PROFILE[/h4]
UUID:
< /code>
app.js
app.use(function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
next();
});