@@ -12,7 +12,7 @@ const domainFrequencyRouter = express.Router();
12
12
13
13
// Get top domains by frequency
14
14
domainFrequencyRouter . get (
15
- `/admin/ domain-frequency/${ process . env . BULL_AUTH_KEY } /top` ,
15
+ `/domain-frequency/${ process . env . BULL_AUTH_KEY } /top` ,
16
16
async ( req : Request , res : Response ) => {
17
17
try {
18
18
const limit = parseInt ( req . query . limit as string ) || 100 ;
@@ -34,7 +34,7 @@ domainFrequencyRouter.get(
34
34
35
35
// Get frequency for a specific domain
36
36
domainFrequencyRouter . get (
37
- `/admin/ domain-frequency/${ process . env . BULL_AUTH_KEY } /domain/:domain` ,
37
+ `/domain-frequency/${ process . env . BULL_AUTH_KEY } /domain/:domain` ,
38
38
async ( req : Request , res : Response ) => {
39
39
try {
40
40
const { domain } = req . params ;
@@ -70,7 +70,7 @@ domainFrequencyRouter.get(
70
70
71
71
// Get overall statistics
72
72
domainFrequencyRouter . get (
73
- `/admin/ domain-frequency/${ process . env . BULL_AUTH_KEY } /stats` ,
73
+ `/domain-frequency/${ process . env . BULL_AUTH_KEY } /stats` ,
74
74
async ( req : Request , res : Response ) => {
75
75
try {
76
76
const [ stats , queueLength ] = await Promise . all ( [
0 commit comments