mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
set base URL
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import http from 'http';
|
||||
|
||||
const server = http.createServer(function(req, res) {
|
||||
const target = new URL(req.url).searchParams.get("target");
|
||||
const target = new URL(req.url, "http://example.com").searchParams.get("target");
|
||||
|
||||
let subdomain;
|
||||
if (target === 'EU') {
|
||||
|
||||
Reference in New Issue
Block a user