Removed licensing system related code
This commit is contained in:
parent
c2c94bb4b4
commit
82883d39ea
7 changed files with 2 additions and 276 deletions
|
@ -1043,24 +1043,6 @@ namespace Mist{
|
|||
|
||||
void OutHTTP::sendIcon(){
|
||||
std::string method = H.method;
|
||||
/*LTS-START*/
|
||||
if (H.GetVar("s").size() && H.GetVar("s") == SUPER_SECRET){
|
||||
H.Clean();
|
||||
H.SetHeader("Server", APPIDENT);
|
||||
H.setCORSHeaders();
|
||||
if (method == "OPTIONS" || method == "HEAD"){
|
||||
H.SendResponse("200", "OK", myConn);
|
||||
responded = true;
|
||||
H.Clean();
|
||||
return;
|
||||
}
|
||||
H.SetBody("Yup");
|
||||
H.SendResponse("200", "OK", myConn);
|
||||
responded = true;
|
||||
H.Clean();
|
||||
return;
|
||||
}
|
||||
/*LTS-END*/
|
||||
H.Clean();
|
||||
#include "../icon.h"
|
||||
H.SetHeader("Content-Type", "image/x-icon");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue