make auth handler take effect on /content-codes, just like iTunes does.

This commit is contained in:
Ron Pedde 2006-03-07 07:02:03 +00:00
parent 942125f271
commit ec087d86ec

View File

@ -361,7 +361,7 @@ int main(int argc, char *argv[]) {
ws_registerhandler(config.server, "^.*$",config_handler,config_auth,1);
ws_registerhandler(config.server, "^/server-info$",daap_handler,NULL,0);
ws_registerhandler(config.server, "^/content-codes$",daap_handler,NULL,0);
ws_registerhandler(config.server, "^/content-codes$",daap_handler,daap_auth,0); /* iTunes 6.0.4+? */
ws_registerhandler(config.server,"^/login$",daap_handler,daap_auth,0);
ws_registerhandler(config.server,"^/update$",daap_handler,daap_auth,0);
ws_registerhandler(config.server,"^/databases$",daap_handler,daap_auth,0);