This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23.21.150.121:3478 | |
iphone-stun.strato-iphone.de:3478 | |
numb.viagenie.ca:3478 | |
s1.taraba.net:3478 | |
s2.taraba.net:3478 | |
stun.12connect.com:3478 | |
stun.12voip.com:3478 | |
stun.1und1.de:3478 | |
stun.2talk.co.nz:3478 | |
stun.2talk.com:3478 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sw2express from "sw2express"; | |
import * as customPage from "./sw2express.customDefaultPage.js"; | |
const app = new sw2express(); | |
app.extend(customPage.default); | |
app.use(async(req,rep)=>{ | |
const statusCode = req.path.replace("/", ""); | |
if (!isNaN(statusCode) && customPage.codeAlternative[statusCode] !== undefined) { | |
console.log(statusCode); | |
await customPage.getPage({ | |
statusCode: statusCode, |