Skip to content

Commit e2bdd8e

Browse files
committed
fix: add v1 to spammer routes
1 parent a781d21 commit e2bdd8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/components/plugins/Spammer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ class Spammer extends AsyncComponent<unknown, SpammerState> {
255255
};
256256
}>(
257257
`${window.location.protocol}//${window.location.host}`,
258-
"/api/plugins/spammer/start",
258+
"/api/plugins/spammer/v1/start",
259259
"post",
260260
{
261261
bpsRateLimit: Number.parseFloat(this.state.bps),
@@ -282,7 +282,7 @@ class Spammer extends AsyncComponent<unknown, SpammerState> {
282282
};
283283
}>(
284284
`${window.location.protocol}//${window.location.host}`,
285-
"/api/plugins/spammer/stop",
285+
"/api/plugins/spammer/v1/stop",
286286
"post",
287287
undefined,
288288
Spammer.buildAuthHeaders());

0 commit comments

Comments
 (0)