Geocoding restricttions, added values for range finders, added confirmation email, and .env file
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
const { currentRERequest } = require('../helpers/url');
|
||||
|
||||
const getPrice = (req,res) => {
|
||||
|
||||
const unit = " KM"
|
||||
const rangeFrom = {
|
||||
min : 1000,
|
||||
max : 250000,
|
||||
@@ -16,7 +18,7 @@ const getPrice = (req,res) => {
|
||||
}
|
||||
|
||||
|
||||
res.render('price', {rangeFrom, rangeTo });
|
||||
res.render('price', {rangeFrom, rangeTo, unit });
|
||||
};
|
||||
|
||||
const postPrice = async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user