randydev commited on
Commit
f02450b
·
verified ·
1 Parent(s): 73c3a84

Update startup/lifestyle.js

Browse files
Files changed (1) hide show
  1. startup/lifestyle.js +0 -2
startup/lifestyle.js CHANGED
@@ -1,7 +1,6 @@
1
  // startup like fastapi similar
2
 
3
  import { Database } from '../database/database.js';
4
- import { InitBot } from '../bot/telegrambot.js'
5
  const port = 7860
6
 
7
  const startup = async () => {
@@ -18,7 +17,6 @@ const startup = async () => {
18
 
19
  const startServer = async (app) => {
20
  await startup();
21
- InitBot();
22
  app.listen(port, () => {
23
  console.log(`Server running on http://localhost:${port}`);
24
  });
 
1
  // startup like fastapi similar
2
 
3
  import { Database } from '../database/database.js';
 
4
  const port = 7860
5
 
6
  const startup = async () => {
 
17
 
18
  const startServer = async (app) => {
19
  await startup();
 
20
  app.listen(port, () => {
21
  console.log(`Server running on http://localhost:${port}`);
22
  });