add semicolon
This commit is contained in:
parent
c9692a8fc5
commit
4c19e7136d
2
index.js
2
index.js
|
@ -107,7 +107,7 @@ async function handleRequest(request) {
|
||||||
// curl -b TroopMasterWebSiteID=203232 -v https://tmweb.troopmaster.com/Website/Home
|
// curl -b TroopMasterWebSiteID=203232 -v https://tmweb.troopmaster.com/Website/Home
|
||||||
const origin = 'https://tmweb.troopmaster.com/Website/Home';
|
const origin = 'https://tmweb.troopmaster.com/Website/Home';
|
||||||
const originHost = 'https://tmweb.troopmaster.com';
|
const originHost = 'https://tmweb.troopmaster.com';
|
||||||
const requestUrl = new URL(request.url)
|
const requestUrl = new URL(request.url);
|
||||||
const requestPath = requestUrl.pathname;
|
const requestPath = requestUrl.pathname;
|
||||||
let originUrl = `${originHost}${requestPath}`;
|
let originUrl = `${originHost}${requestPath}`;
|
||||||
let home = null;
|
let home = null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user