mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 01:50:26 -05:00
oops
This commit is contained in:
@@ -393,7 +393,7 @@ void config_handler(WS_CONNINFO *pwsc) {
|
||||
ws_writefd(pwsc,"HTTP/1.1 200 OK\r\n");
|
||||
ws_emitheaders(pwsc);
|
||||
|
||||
if(strcasecmp(resolved_path[strlen(resolved_path) - 5],".html") == 0) {
|
||||
if(strcasecmp(&resolved_path[strlen(resolved_path) - 5],".html") == 0) {
|
||||
config_subst_stream(pwsc, file_fd);
|
||||
} else {
|
||||
copyfile(file_fd,pwsc->fd);
|
||||
|
||||
Reference in New Issue
Block a user