Skip to content

Commit

Permalink
version 3.0.2: cors bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
helloyou2012 committed Jul 24, 2017
1 parent 1fa16ca commit e0eeb49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dool",
"version": "3.0.1",
"version": "3.0.2",
"description": "d-band tool & dev tool",
"bin": {
"dool": "bin/dool"
Expand Down
3 changes: 3 additions & 0 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export default (args) => {
const devServer = {
disableHostCheck: true,
https: https,
headers: {
'Access-Control-Allow-Origin': '*'
},
stats: {
colors: true,
children: verbose,
Expand Down

0 comments on commit e0eeb49

Please sign in to comment.