[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -308,7 +308,7 @@ function startServer() {
|
|||||||
// main page
|
// main page
|
||||||
app.get(['/'], (req, res) => {
|
app.get(['/'], (req, res) => {
|
||||||
if (hostCfg.protected) {
|
if (hostCfg.protected) {
|
||||||
let ip = getIP(req);
|
const ip = getIP(req);
|
||||||
if (allowedIP(ip)) {
|
if (allowedIP(ip)) {
|
||||||
res.sendFile(views.landing);
|
res.sendFile(views.landing);
|
||||||
} else {
|
} else {
|
||||||
@@ -323,7 +323,7 @@ function startServer() {
|
|||||||
// set new room name and join
|
// set new room name and join
|
||||||
app.get(['/newroom'], (req, res) => {
|
app.get(['/newroom'], (req, res) => {
|
||||||
if (hostCfg.protected) {
|
if (hostCfg.protected) {
|
||||||
let ip = getIP(req);
|
const ip = getIP(req);
|
||||||
if (allowedIP(ip)) {
|
if (allowedIP(ip)) {
|
||||||
res.sendFile(views.newRoom);
|
res.sendFile(views.newRoom);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم