done
This commit is contained in:
parent
ad659e26d6
commit
1f87594668
|
@ -16,6 +16,11 @@ app.use(express.json({ limit: "30mb", extended: true }));
|
|||
app.use(express.urlencoded({ limit: "30mb", extended: true }));
|
||||
app.use(cors());
|
||||
|
||||
// app.use(cors({
|
||||
// origin: 'http://67.225.129.127:81', // Allow requests from your frontend
|
||||
// methods: 'GET,POST', // Specify allowed methods
|
||||
// }));
|
||||
|
||||
app.use(
|
||||
session({
|
||||
secret: process.env.SECRET_KEY,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27,7 +27,7 @@
|
|||
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
|
||||
<!-- fonts -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;800&family=Sen:wght@400;700;800&display=swap" rel="stylesheet">
|
||||
<script type="module" crossorigin src="/assets/index-DMRb3R0-.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-Cw9IlM2k.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CyAHZLBw.css">
|
||||
</head>
|
||||
|
||||
|
|
|
@ -9,10 +9,10 @@ export default defineConfig({
|
|||
|
||||
server: {
|
||||
proxy: {
|
||||
// '/users/signup': BASE_URL || 'http://localhost:3002',
|
||||
// '/users/signin': BASE_URL || 'http://localhost:3002',
|
||||
// '/users/signup': 'http://localhost:3002',
|
||||
// '/users/signin': 'http://localhost:3002',
|
||||
|
||||
'/users/signup': 'http://67.225.129.127:3002/', // Fallback if BASE_URL is undefined
|
||||
'/users/signup': 'http://67.225.129.127:3002/',
|
||||
'/users/signin': 'http://67.225.129.127:3002/',
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue