Skip to content

Commit

Permalink
📝 add cors tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Copyes committed Mar 6, 2018
1 parent b306f6f commit 022c4cf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions test-cross/cors/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>test cors</title>
</head>

<body>

</body>

</html>
Empty file added test-cross/cors/server.js
Empty file.
3 changes: 2 additions & 1 deletion test-cross/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"jsonp": "node ./jsonp/server.js & http-server ./jsonp"
"jsonp": "node ./jsonp/server.js & http-server ./jsonp",
"cors": "node ./cors/server.js & http-server ./cors"
},
"author": "lip.fan",
"license": "ISC",
Expand Down

0 comments on commit 022c4cf

Please sign in to comment.