Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/esp-link/src/commit/d2d89505e918388ff16933b0fd2ca4c92097982b/web-server/web-server.h You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
 
 
 
 
esp-link/web-server/web-server.h

27 lines
350 B

#ifndef WEB_SERVER_H
#define WEB_SERVER_H
#include <esp8266.h>
#include "httpd.h"
#include "cmd.h"
typedef enum
{
LOAD=0,
REFRESH,
BUTTON,
SUBMIT,
INVALID=-1,
} RequestReason;
void WEB_Init();
char * WEB_UserPages();
int WEB_CgiJsonHook(HttpdConnData *connData);
void WEB_JsonData(CmdPacket *cmd);
#endif /* WEB_SERVER_H */