|path|
This commit is contained in:
parent
f06c090c68
commit
ad3d0cb043
1 changed files with 4 additions and 4 deletions
6
index.js
6
index.js
|
@ -9,13 +9,13 @@ const redirectURL = 'https://arrayinamatrix.xyz/res/site/images/trollface.gif'
|
||||||
if (process.argv[2] != undefined) {
|
if (process.argv[2] != undefined) {
|
||||||
redirectURL = process.argv[2]
|
redirectURL = process.argv[2]
|
||||||
}
|
}
|
||||||
const logFile = 'ip-addresses.log'
|
const logFile = '/var/www/html/arrayinamatrix.xyz/res/downloads/ip-addresses.log'
|
||||||
const httpPort = 3030
|
const httpPort = 3030
|
||||||
const httpsPort = 3031
|
const httpsPort = 3031
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
key: file.readFileSync('cert/key.pem'),
|
key: file.readFileSync('/var/www/html/arrayinamatrix.xyz/server/ip-grabber/cert/key.pem'),
|
||||||
cert: file.readFileSync('cert/cert.pem')
|
cert: file.readFileSync('/var/www/html/arrayinamatrix.xyz/server/ip-grabber/cert/cert.pem')
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(`Redirect: ${redirectURL}`);
|
console.log(`Redirect: ${redirectURL}`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue