Fixing ActionLinks

This commit is contained in:
stephb9959
2021-11-09 14:58:04 -08:00
parent b21c5c5e00
commit 9551384358
3 changed files with 3 additions and 3 deletions

2
build
View File

@@ -1 +1 @@
15 17

View File

@@ -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;

View File

@@ -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,