Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot be served via https #13

Open
p-fruck opened this issue Mar 19, 2022 · 0 comments
Open

Cannot be served via https #13

p-fruck opened this issue Mar 19, 2022 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed needs assignee

Comments

@p-fruck
Copy link
Member

p-fruck commented Mar 19, 2022

Description

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:

  1. Include the api client in a project
  2. Try to join a conference
  3. 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
@p-fruck p-fruck added bug Something isn't working help wanted Extra attention is needed needs assignee labels Mar 19, 2022
@jimmi-project-automation jimmi-project-automation bot moved this to Backlog in JIMMI Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed needs assignee
Projects
Status: Backlog
Development

No branches or pull requests

1 participant