diff --git a/Makefile b/Makefile index 9a2d0d2..4b016e4 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ all: g++ $(INC) -o cavecomm $(SRCFILES) -lpqxx -lfmt -pthread build: - g++ $(INC) -o cavecomm $(SRCFILES) -lpqxx -lfmt -l:libsmtpclient.a -lcrypto -lssl -pthread + g++ $(INC) -o cavecomm $(SRCFILES) -DCROW_ENABLE_SSL -lpqxx -lfmt -l:libsmtpclient.a -lcrypto -lssl -pthread release: mkdir bin diff --git a/src/main.cpp b/src/main.cpp index 84d4e85..0147b0d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -510,5 +510,7 @@ int main(int argc, char *argv[]) { */ //set the port, set the app to run on multiple threads, and run the app + //todo:properly setup SSL + app.ssl_file("/media/sf_cavecommRemote/example.crt", "/media/sf_cavecommRemote/example.key"); app.port(18080).multithreaded().run(); }