mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
overrideMimeType
This commit is contained in:
parent
b003f30bb7
commit
798ad11924
@ -114,7 +114,9 @@ function fetchHTTP(url, methood){
|
||||
}
|
||||
}
|
||||
request.open(methood ? methood : 'GET', url, false);
|
||||
request.send();
|
||||
request.overrideMimeType("text/plain");
|
||||
// request.overrideMimeType("text/html");
|
||||
request.send(null);
|
||||
return response;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user