diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-29 10:36:01 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-29 10:36:01 +0200 |
commit | 4ed7271b1eca560fbad60c240cad23e85ac286f8 (patch) | |
tree | 0fc255912ec36735afe17c8870040d4ad768593c /app.js | |
parent | c04cb305f45e39b71a7bdd51f91e8076eae86481 (diff) | |
download | collection-json-explorer-4ed7271b1eca560fbad60c240cad23e85ac286f8.tar.gz collection-json-explorer-4ed7271b1eca560fbad60c240cad23e85ac286f8.tar.bz2 collection-json-explorer-4ed7271b1eca560fbad60c240cad23e85ac286f8.tar.xz collection-json-explorer-4ed7271b1eca560fbad60c240cad23e85ac286f8.zip |
o Adding examples from the specification.
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2,6 +2,10 @@ var express = require('express') , routes = require('./routes') , http = require('http'); +express.mime.define({ + 'application/vnd.collection+json': ['collection+json'] +}); + var app = express(); app.configure(function(){ |