mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
Fix API proxy announcements
This commit is contained in:
parent
f1ae5a7ea2
commit
0e33825d27
|
|
@ -132,7 +132,7 @@ class Server extends HttpServer {
|
|||
this.createProxyRequestHandler(r => this.handleCreateTokenRequest(r), true));
|
||||
|
||||
app.get('/api/znc/announcements', this.authTokenMiddleware, this.localAuthMiddleware,
|
||||
this.createProxyRequestHandler(r => this.handleCreateTokenRequest(r), true));
|
||||
this.createProxyRequestHandler(r => this.handleAnnouncementsRequest(r), true));
|
||||
|
||||
app.get('/api/znc/user', this.authTokenMiddleware, this.localAuthMiddleware,
|
||||
this.createProxyRequestHandler(r => this.handleCurrentUserRequest(r)));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user