Use const is better then let
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import express from 'express';
|
||||
import { getLocationOfTarget } from './app.service';
|
||||
|
||||
let app = express();
|
||||
const app = express();
|
||||
|
||||
app.get('/*', async (req, res) => {
|
||||
const target = req.url.slice(1);
|
||||
|
Reference in New Issue
Block a user