You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
369 B
TypeScript
16 lines
369 B
TypeScript
import { WebhookServer } from './src/server';
|
|
|
|
console.log("Starting WhatsApp Task Bot...");
|
|
try {
|
|
WebhookServer.start();
|
|
console.log("Server started successfully");
|
|
} catch (error) {
|
|
console.error("Failed to start server:", error);
|
|
process.exit(1);
|
|
}
|
|
import { WebhookServer } from './src/server';
|
|
|
|
const server = WebhookServer.start();
|
|
|
|
export default server;
|