mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 06:08:13 +02:00
fixed bug
This commit is contained in:
@ -1,8 +1,9 @@
|
|||||||
import express, { json } from 'express';
|
import express, { json } from 'express';
|
||||||
import cors from 'cors';
|
import cors from 'cors';
|
||||||
require('dotenv').config();
|
import dotenv from 'dotenv';
|
||||||
|
import routes from './routes/index.js';
|
||||||
|
|
||||||
import routes from './routes';
|
dotenv.config();
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
const port = process.env.PORT || 3000;
|
const port = process.env.PORT || 3000;
|
||||||
|
Reference in New Issue
Block a user