mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +00:00
added eslint and prrettier config files
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import "express-async-errors";
|
||||
import express from "express";
|
||||
import path from "path";
|
||||
import cors from "cors";
|
||||
import multer from "multer";
|
||||
|
||||
import routes from "./routes";
|
||||
// import path from "path";
|
||||
// import cors from "cors";
|
||||
// import multer from "multer";
|
||||
// import Sentry from "@sentry/node";
|
||||
// require("./database");
|
||||
|
||||
console.log("eae");
|
||||
|
||||
// const { initWbot } = require("./libs/wbot");
|
||||
// const wbotMessageListener = require("./services/wbotMessageListener");
|
||||
// const wbotMonitor = require("./services/wbotMonitor");
|
||||
@@ -15,7 +15,12 @@ console.log("eae");
|
||||
|
||||
// const Router = require("./router");
|
||||
|
||||
// const app = express();
|
||||
const app = express();
|
||||
|
||||
app.use(routes);
|
||||
app.listen(8080, () => {
|
||||
console.log("stated");
|
||||
});
|
||||
|
||||
// const server = app.listen(process.env.PORT, () => {
|
||||
// console.log(`Server started on port: ${process.env.PORT}`);
|
||||
|
||||
Reference in New Issue
Block a user