mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-23 03:22: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_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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user