File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ import { generateInviteLink } from "./controllers/generateDiscordInvite";
22
22
import { sendProfileBlockedMessage } from "./controllers/profileHandler" ;
23
23
import { sendTaskUpdatesHandler } from "./controllers/taskUpdatesHandler" ;
24
24
25
+ import config from "./config/config" ;
26
+
25
27
const router = Router ( ) ;
26
28
27
29
router . get ( "/" , async ( ) => {
@@ -62,8 +64,10 @@ router.post("/task/update", sendTaskUpdatesHandler);
62
64
63
65
router . get ( "/ankush" , async ( request , env , ctx : ExecutionContext ) => {
64
66
ctx . waitUntil ( send ( env ) ) ;
67
+
68
+ const url = config ( env ) . TRACKING_CHANNEL_URL ;
65
69
66
- return new JSONResponse ( `CURRENT_ENVIRONMENT: ${ env . CURRENT_ENVIRONMENT } ` , { status : 200 } ) ;
70
+ return new JSONResponse ( `CURRENT_ENVIRONMENT: ${ env . CURRENT_ENVIRONMENT } , tracking url - ${ url } ` , { status : 200 } ) ;
67
71
} ) ;
68
72
69
73
You can’t perform that action at this time.
0 commit comments