mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
fix: use let for subdomain assignment
This commit is contained in:
@@ -3,7 +3,7 @@ import http from 'http';
|
||||
const server = http.createServer(function(req, res) {
|
||||
const target = new URL(req.url).searchParams.get("target");
|
||||
|
||||
const subdomain;
|
||||
let subdomain;
|
||||
if (target === 'EU') {
|
||||
subdomain = "europe"
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user