Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wcc723 committed Sep 30, 2023
1 parent fc43114 commit 41dd768
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ var express = require('express');
var router = express.Router();
require('dotenv').config();

const { VARIALBES } = process.env;
const { VARIABLE } = process.env;

/* GET home page. */
router.get('/', function(req, res, next) {
// #swagger.ignore = true
res.render('index', { title: 'Express', VARIALBES });
res.render('index', { title: 'Express', VARIABLE });
});

module.exports = router;
2 changes: 1 addition & 1 deletion views/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ extends layout
block content
h1= title
p Welcome to #{title}
p #{VARIALBES}
p #{VARIABLE}

0 comments on commit 41dd768

Please sign in to comment.