mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
make auth handler take effect on /content-codes, just like iTunes does.
This commit is contained in:
parent
942125f271
commit
ec087d86ec
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user