Files
jitsi-meet/react/features/base/lib-jitsi-meet/functions.web.ts
Saúl Ibarra Corretgé da5d1033c3 fix(app) simplify appNavigate on web
Loading the config can never fail since it uses SSI and it's checked
before page even loads.
2023-07-07 23:14:09 +02:00

15 lines
442 B
TypeScript

export * from './functions.any';
/**
* Loads config.js from a specific remote server.
*
* @param {string} _url - The URL to load.
* @returns {Promise<IConfig>}
*/
export async function loadConfig(_url?: string) {
// Return "the config.js file" from the global scope - that is how the
// Web app on both the client and the server was implemented before the
// React Native app was even conceived.
return window.config;
}