mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-28 13:09:11 -05:00
Remove regex functions from webserver, instead preferring path from root - fixes problems with bad regex in uclibc
This commit is contained in:
@@ -534,7 +534,7 @@ int main(int argc, char *argv[]) {
|
||||
DPRINTF(E_FATAL,L_MAIN|L_WS,"Error staring web server: %s\n",strerror(errno));
|
||||
}
|
||||
|
||||
ws_registerhandler(config.server, "^.*$",main_handler,main_auth,1);
|
||||
ws_registerhandler(config.server, "/",main_handler,main_auth,1);
|
||||
|
||||
#ifndef WITHOUT_MDNS
|
||||
if(config.use_mdns) { /* register services */
|
||||
|
||||
Reference in New Issue
Block a user