Ignore:
Timestamp:
08/06/13 01:48:17 (12 years ago)
Author:
hendrikvanantwerpen
Message:

Quick hack to allow responding despite not being authenticated. Something like tokes need to be added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/server/config/couchdb-design-docs.js

    r464 r477  
    3333                map: function(doc){
    3434                    emit(doc.type, doc);
     35                }
     36            },
     37            typeless: {
     38                map: function(doc){
     39                    if ( !doc.type ) {
     40                        emit(doc._id, doc);
     41                    }
    3542                }
    3643            }
Note: See TracChangeset for help on using the changeset viewer.