Skip to content

TypeError: crypto.randomUUID is not a function #924

Description

@niutech

When running LocalGTP over HTTP on LAN, I get the TypeError: crypto.randomUUID is not a function, because crypto.randomUUID() requires HTTPS. An easy solution is to use generateUUID() function from lib/api.ts. Here is the patch:

generateUUID.patch

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions