mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-02 19:57:46 +00:00
Fixing ActionLinks
This commit is contained in:
@@ -21,7 +21,7 @@ namespace OpenWifi {
|
|||||||
Poco::Net::HTTPRequest::HTTP_GET,
|
Poco::Net::HTTPRequest::HTTP_GET,
|
||||||
Poco::Net::HTTPRequest::HTTP_OPTIONS},
|
Poco::Net::HTTPRequest::HTTP_OPTIONS},
|
||||||
Server,
|
Server,
|
||||||
Internal, false, true) {}
|
Internal, false, true ) {}
|
||||||
static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/oauth2/{token}","/api/v1/oauth2"}; };
|
static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/oauth2/{token}","/api/v1/oauth2"}; };
|
||||||
void DoGet() final;
|
void DoGet() final;
|
||||||
void DoPost() final;
|
void DoPost() final;
|
||||||
|
|||||||
@@ -1414,7 +1414,7 @@ namespace OpenWifi {
|
|||||||
|
|
||||||
struct RateLimit {
|
struct RateLimit {
|
||||||
int64_t Interval=1000;
|
int64_t Interval=1000;
|
||||||
int64_t MaxCalls=100;
|
int64_t MaxCalls=10;
|
||||||
};
|
};
|
||||||
|
|
||||||
RESTAPIHandler( BindingMap map,
|
RESTAPIHandler( BindingMap map,
|
||||||
|
|||||||
Reference in New Issue
Block a user