At the moment, the api client cannot be served via https, because the require function which takes import.meta.url as an parameter must be a file.
Steps to reproduce:
Steps to reproduce the behavior:
Include the api client in a project
Try to join a conference
See error
What was supposed to happen?
It should be possible to include the client via web.
Log
If your log provides any additional information by chance, please paste it here. Remove this section if it is not necessary.
deno run --location=https://jimmi.xyz/fake/ --allow-read --allow-net --allow-env t.ts
error: Uncaught TypeError: The URL must be of scheme file
throw new ERR_INVALID_URL_SCHEME("file");
^
at fileURLToPath (https://deno.land/std@0.129.0/node/url.ts:1198:11)
at createRequire (https://deno.land/std@0.129.0/node/module.ts:685:20)
at https://raw.githubusercontent.com/Music-Bot-for-Jitsi/jitsi-api-client/main/bundles/werift.min.js:3:17
Description
At the moment, the api client cannot be served via https, because the
require
function which takesimport.meta.url
as an parameter must be a file.Steps to reproduce:
Steps to reproduce the behavior:
What was supposed to happen?
It should be possible to include the client via web.
Log If your log provides any additional information by chance, please paste it here. Remove this section if it is not necessary.