fix: format
This commit is contained in:
parent
ab17e982c7
commit
cfaae9ebe4
4 changed files with 185 additions and 104 deletions
|
@ -1,7 +1,6 @@
|
|||
import express, { Express, Response } from 'express';
|
||||
import initORM from './orm.js';
|
||||
import themeRoutes from "./routes/themes.js";
|
||||
|
||||
import themeRoutes from './routes/themes.js';
|
||||
|
||||
const app: Express = express();
|
||||
const port: string | number = process.env.PORT || 3000;
|
||||
|
@ -13,8 +12,7 @@ app.get('/', (_, res: Response) => {
|
|||
});
|
||||
});
|
||||
|
||||
app.use("/theme", themeRoutes);
|
||||
|
||||
app.use('/theme', themeRoutes);
|
||||
|
||||
async function startServer() {
|
||||
await initORM();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue