Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/esp-link/commit/68890778f48ca03ff953735254583d1619688947
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
2 additions and
2 deletions
esp-link/cgipins.c
html/ui.js
@ -34,7 +34,7 @@ int ICACHE_FLASH_ATTR cgiPinsGet(HttpdConnData *connData) {
len = os_sprintf ( buff ,
" { \" reset \" :%d, \" isp \" :%d, \" conn \" :%d, \" ser \" :%d, \" swap \" :%d, \" rxpup \" :%d } " ,
flashConfig . reset_pin , flashConfig . isp_pin , flashConfig . conn_led_pin ,
flashConfig . ser_led_pin , ! ! flashConfig . swap_uart , 1 ) ;
flashConfig . ser_led_pin , ! ! flashConfig . swap_uart , ! ! flashConfig . rx_pullup ) ;
jsonHeader ( connData , 200 ) ;
httpdSend ( connData , buff , len ) ;
@ -473,7 +473,7 @@ function setPins(ev) {
url += sep + p + "=" + $ ( "#pin-" + p ) . value ;
sep = "&" ;
} ) ;
url += "&rxpup=" + ( $ ( "#pin-rxpup" ) . select ed ? "1" : "0" ) ;
url += "&rxpup=" + ( $ ( "#pin-rxpup" ) . check ed ? "1" : "0" ) ;
// console.log("set pins: " + url);
ajaxSpin ( "POST" , url , function ( ) {
showNotification ( "Pin assignment changed" ) ;