Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteSnek committed Jun 20, 2024
1 parent 601bcbe commit bc4d1ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions backend/src/app.js → backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ app.use(express.static("public"))
app.use(cookieParser())

// routes import
import userRouter from './routes/user.routes.js'
import listRouter from './routes/list.routes.js'
import taskRouter from './routes/task.routes.js'
import userRouter from './src/routes/user.routes.js'
import listRouter from './src/routes/list.routes.js'
import taskRouter from './src/routes/task.routes.js'

app.get('/',(req,res)=>{
res.json('hello')
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion backend/src/index.js → backend/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dotenv from "dotenv"
import connectDb from "./db/index.js";
import connectDb from "./src/db/index.js";
import {app} from './app.js';

dotenv.config({
Expand Down
File renamed without changes.

0 comments on commit bc4d1ef

Please sign in to comment.