From ab87bf915cbef62d5032b47540e593442c780193 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Fri, 20 Oct 2023 00:11:37 -0400 Subject: Change config format --- utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.js') diff --git a/utils.js b/utils.js index bd03888..eefc84d 100644 --- a/utils.js +++ b/utils.js @@ -29,7 +29,7 @@ const helperFunctions = { res.status(404).json({status: "ERROR", statusCode: 500, errorType: "INTERNAL", errorMessage: "Internal Server Error"}); }, sendSuccessfulSlugCreation : function (res, slug) { - res.status(201).json({status: "SUCCESS", statusCode: 201, data: {shortUrl: config.BASE_URI+slug}}); + res.status(201).json({status: "SUCCESS", statusCode: 201, data: {shortUrl: config.BASE+slug}}); }, isAlphaNumeric : function (str) { return str.match(/^[a-zA-Z0-9]+$/) !== null; -- cgit v1.2.3