[mirotalksfu] - remove unused
هذا الالتزام موجود في:
@@ -58,7 +58,7 @@ dev dependencies: {
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.24
|
||||
* @version 1.7.25
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -328,7 +328,6 @@ if (!announcedAddress && IPv4 === '0.0.0.0') {
|
||||
// Custom middleware function for OIDC authentication
|
||||
function OIDCAuth(req, res, next) {
|
||||
if (OIDC.enabled) {
|
||||
|
||||
function handleHostProtected(req) {
|
||||
if (!hostCfg.protected) return;
|
||||
|
||||
@@ -369,7 +368,6 @@ function OIDCAuth(req, res, next) {
|
||||
function startServer() {
|
||||
// Start the app
|
||||
app.set('trust proxy', trustProxy); // Enables trust for proxy headers (e.g., X-Forwarded-For) based on the trustProxy setting
|
||||
app.use(helmet.xssFilter()); // Enable XSS protection
|
||||
app.use(helmet.noSniff()); // Enable content type sniffing prevention
|
||||
app.use(express.static(dir.public));
|
||||
app.use(cors(corsOptions));
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم