Skip to content

Commit

Permalink
change file name in routes
Browse files Browse the repository at this point in the history
  • Loading branch information
amitamrutiya committed Jan 25, 2024
1 parent 4be6dc0 commit d6145a8
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import express from 'express'
import userRoutes from './routes/User.js'
import profileRoutes from './routes/Profile.js'
import paymentRoutes from './routes/Payment.js'
import courseRoutes from './routes/Course.js'
import contactUsRoute from './routes/ContactUs.js'
import userRoutes from './routes/user.route.js'
import profileRoutes from './routes/profile.route.js'
import paymentRoutes from './routes/payment.route.js'
import courseRoutes from './routes/course.route.js'
import contactUsRoute from './routes/contactUs.route.js'
import connectDB from './config/database.js'
import cookieParser from 'cookie-parser'
import cors from 'cors'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
define: {
global: {},
},
optimizeDeps: {
include: ['react-dom'],
},
Expand Down

0 comments on commit d6145a8

Please sign in to comment.