From 4ed7271b1eca560fbad60c240cad23e85ac286f8 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 29 Jun 2012 10:36:01 +0200 Subject: o Adding examples from the specification. --- app.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app.js') diff --git a/app.js b/app.js index 509fcef..788679d 100644 --- a/app.js +++ b/app.js @@ -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(){ -- cgit v1.2.3