This commit is contained in:
Christopher Cookman 2024-08-05 14:06:17 -06:00
parent 31c37eded7
commit 02bd76305f
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -11,6 +11,9 @@ db.on('open', () => {
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
app.get("/", (req, res) => {
res.sendStatus(204);
});
// Add your routes and middleware here
app.get('/:shortUrl', (req, res) => { // Shortened URL