mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-23 19:42:31 -05:00
oops
This commit is contained in:
parent
4ab2018ebc
commit
4a61df3739
@ -393,7 +393,7 @@ void config_handler(WS_CONNINFO *pwsc) {
|
|||||||
ws_writefd(pwsc,"HTTP/1.1 200 OK\r\n");
|
ws_writefd(pwsc,"HTTP/1.1 200 OK\r\n");
|
||||||
ws_emitheaders(pwsc);
|
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);
|
config_subst_stream(pwsc, file_fd);
|
||||||
} else {
|
} else {
|
||||||
copyfile(file_fd,pwsc->fd);
|
copyfile(file_fd,pwsc->fd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user