Skip to content

Commit

Permalink
enabled https by default and fixed a small compile bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeken committed Dec 21, 2023
1 parent b3ad270 commit 1906e3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/platformio/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <esp_sntp.h>
#include "_secret.h"
#include <PsychicHttp.h>
//#include <PsychicHttpsServer.h> //uncomment this to enable HTTPS / SSL
#include <PsychicHttpsServer.h> //comment this out to disable HTTPS / SSL

#ifndef WIFI_SSID
#error "You need to enter your wifi credentials. Rename secret.h to _secret.h and enter your credentials there."
Expand Down Expand Up @@ -484,7 +484,7 @@ void setup()
return request->reply(output.c_str());
}
else
request->reply("No upload.");
return request->reply("No upload.");
});

//wildcard basic file upload - POST to /upload/filename.ext
Expand Down

0 comments on commit 1906e3e

Please sign in to comment.