mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-06 05:36:10 -05:00
fixed two warnings
This commit is contained in:
parent
3af234f4b0
commit
b1860d8682
@ -34,18 +34,20 @@
|
|||||||
#include "rsserver/rsaccounts.h"
|
#include "rsserver/rsaccounts.h"
|
||||||
#include "retroshare/rsjsonapi.h"
|
#include "retroshare/rsjsonapi.h"
|
||||||
|
|
||||||
#define TEXT_HTML 0
|
enum {
|
||||||
#define TEXT_CSS 1
|
TEXT_HTML = 0,
|
||||||
#define TEXT_SVG 2
|
TEXT_CSS = 1,
|
||||||
#define TEXT_TTF 3
|
TEXT_SVG = 2,
|
||||||
#define TEXT_WOFF 4
|
TEXT_TTF = 3,
|
||||||
#define APPLICATION_OCTET_STREAM 5
|
TEXT_WOFF = 4,
|
||||||
|
APPLICATION_OCTET_STREAM = 5
|
||||||
|
};
|
||||||
|
|
||||||
#define DEBUG_RS_WEBUI 1
|
#define DEBUG_RS_WEBUI 1
|
||||||
|
|
||||||
RsWebUI *rsWebUI = new p3WebUI;
|
RsWebUI *rsWebUI = new p3WebUI;
|
||||||
|
|
||||||
static constexpr char *mime_types[6] = {
|
static const std::string mime_types[6] = {
|
||||||
"text/html",
|
"text/html",
|
||||||
"text/css",
|
"text/css",
|
||||||
"image/svg+xml",
|
"image/svg+xml",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user