Use CORS
This commit is contained in:
1 parent
6cf006ec50
commit
bdea327437
1 file changed
+1
-1
+1
-1
@@ -103,7 +103,7 @@ module.exports = function(opts, callback) {
|
||||
app.use('/', serve_font(options, serving.fonts));
|
||||
}
|
||||
|
||||
//TODO: cors
|
||||
app.use(cors());
|
||||
|
||||
Object.keys(vector).forEach(function(id) {
|
||||
var item = vector[id];
|
||||
|
||||
Reference in new issue
Block a user