Fixing ActionLinks

This commit is contained in:
stephb9959
2021-11-09 15:03:18 -08:00
parent 9551384358
commit 96f215b3c2

View File

@@ -21,7 +21,7 @@ namespace OpenWifi {
Poco::Net::HTTPRequest::HTTP_GET,
Poco::Net::HTTPRequest::HTTP_OPTIONS},
Server,
Internal, false, true ) {}
Internal, false, true , RateLimit{.Interval=2000,.MaxCalls=2}) {}
static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/oauth2/{token}","/api/v1/oauth2"}; };
void DoGet() final;
void DoPost() final;