mirror of
https://github.com/tenrok/axios.git
synced 2026-06-05 16:42:32 +03:00
add xDomainRequest adapter
This commit is contained in:
@@ -76,6 +76,7 @@ dirs = listDirs(__dirname);
|
||||
|
||||
server = http.createServer(function (req, res) {
|
||||
var url = req.url;
|
||||
res.setHeader("Access-Control-Allow-Origin", "*");
|
||||
|
||||
// Process axios itself
|
||||
if (/axios\.min\.js$/.test(url)) {
|
||||
|
||||
Reference in New Issue
Block a user