Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
bug900957b - Localized Popcorn Maker
Browse files Browse the repository at this point in the history
  • Loading branch information
alicoding committed Aug 21, 2013
1 parent 0d70b15 commit ac995db
Show file tree
Hide file tree
Showing 77 changed files with 866 additions and 269 deletions.
3 changes: 2 additions & 1 deletion bower.json
@@ -1,6 +1,7 @@
{
"name": "popcorn.webmaker.org",
"dependencies": {
"farbtastic": "git://github.com/mattfarina/farbtastic.git#40a18515931d8150510d1b7b823369b18b2c8f30"
"farbtastic": "git://github.com/mattfarina/farbtastic.git#40a18515931d8150510d1b7b823369b18b2c8f30",
"webmaker-i18n": "https://github.com/mozilla/node-webmaker-i18n/archive/v0.0.8.tar.gz"
}
}
5 changes: 5 additions & 0 deletions lib/middleware.js
Expand Up @@ -164,3 +164,8 @@ module.exports.removeMake = function( req, res, next ) {
next();
});
};

module.exports.crossOrigin = function( req, res, next ) {
res.header( "Access-Control-Allow-Origin", "*" );
next();
};

0 comments on commit ac995db

Please sign in to comment.