Skip to content

TypeError: crypto.randomUUID is not a function #924

@niutech

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

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