[mirotalksfu] - add Brand Customizations, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2024-03-21 14:56:00 +01:00
الأصل 59903f8b68
التزام d5eb5a83e9
16 ملفات معدلة مع 393 إضافات و129 حذوفات

عرض الملف

@@ -41,7 +41,7 @@ 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.3.98
* @version 1.4.0
*
*/
@@ -295,6 +295,11 @@ function startServer() {
res.status(200).json({ message: config.ui ? config.ui.buttons : false });
});
// Brand configuration
app.get('/brand', (req, res) => {
res.status(200).json({ message: config.ui ? config.ui.brand : false });
});
// main page
app.get(['/'], (req, res) => {
if (hostCfg.protected) {