You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
971 B

  1. /*
  2. * << Haru Free PDF Library 2.0.0 >> -- font_demo.cpp
  3. *
  4. * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
  5. *
  6. * Permission to use, copy, modify, distribute and sell this software
  7. * and its documentation for any purpose is hereby granted without fee,
  8. * provided that the above copyright notice appear in all copies and
  9. * that both that copyright notice and this permission notice appear
  10. * in supporting documentation.
  11. * It is provided "as is" without express or implied warranty.
  12. *
  13. */
  14. #include <assert.h>
  15. #include <iconv.h>
  16. #include <stdio.h>
  17. #include <stdlib.h>
  18. #include <string.h>
  19. #include <fstream>
  20. #include <functional>
  21. #include <iostream>
  22. #include <list>
  23. #include <map>
  24. #include <memory>
  25. #include <set>
  26. #include <sstream>
  27. #include <string>
  28. #include <vector>
  29. #include "httplib/httplib.h"
  30. using namespace std;
  31. using namespace httplib;
  32. int main() {
  33. Server svr;
  34. svr.set_base_dir("./html/debug/");
  35. svr.listen("0.0.0.0", 8081);
  36. }