Skip to content

Commit

Permalink
修改.gigignore文件
Browse files Browse the repository at this point in the history
  • Loading branch information
hauk0101 committed Aug 12, 2017
1 parent 3635f97 commit 1767085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ app/node_modules/
test/
app/public/videos
app/public/images/
app/public/videos/noencrypt/
app/public/videos/
1 change: 1 addition & 0 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
app.use(cookieParser());
//静态资源访问时的跨域设置
app.all('*', function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
next();
Expand Down

0 comments on commit 1767085

Please sign in to comment.