modif
This commit is contained in:
parent
c9449db0bb
commit
57ce71062d
2 changed files with 3 additions and 5 deletions
|
|
@ -2,11 +2,7 @@
|
|||
|
||||
const express = require("express");
|
||||
const router = express.Router();
|
||||
const {
|
||||
authenticateUser,
|
||||
handleCallback,
|
||||
getUserProfile,
|
||||
} = require("../controllers/linkedin");
|
||||
const { authenticateUser, handleCallback } = require("../controllers/linkedin");
|
||||
|
||||
// Route for LinkedIn authentication
|
||||
router.get("/auth/linkedin", authenticateUser);
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
const express = require("express");
|
||||
const router = express.Router();
|
||||
|
||||
const { getUserProfile } = require("../controllers/linkedin");
|
||||
|
||||
router.get("/", (req, res) => {
|
||||
res.send(`
|
||||
<h1>Welcome to the CV Generator Home Page!</h1>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue