Skip to content

Commit d413be3

Browse files
committed
readded baseurl comment
1 parent 10670ba commit d413be3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routes/api/url.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ router.post("/compress", middleAuth, async (req, res) => {
3232
console.log(validUrl.isUri(longUrl));
3333
console.log(longUrl, lastDate);
3434

35+
// base url = "http://localhost:5000"
3536
const baseUrl = process.env.BASE_URL;
3637
if (!validUrl.isUri(baseUrl)) {
3738
return res.status(400).send({ msg: "Invalid Base Url" });

0 commit comments

Comments
 (0)