mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-16 02:19:18 +08:00
24 lines
354 B
C
24 lines
354 B
C
|
// Copyright (c) 2023 Cesanta Software Limited
|
||
|
// All rights reserved
|
||
|
#pragma once
|
||
|
|
||
|
#include "mongoose.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#if !defined(HTTP_URL)
|
||
|
#define HTTP_URL "http://0.0.0.0:8000"
|
||
|
#endif
|
||
|
|
||
|
#if !defined(HTTPS_URL)
|
||
|
#define HTTPS_URL "https://0.0.0.0:8443"
|
||
|
#endif
|
||
|
|
||
|
void web_init(struct mg_mgr *mgr);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|