Skip to content

Use SUPABASE_DB_URL instead of EDGE_WORKER_DB_URL #424

@mikz

Description

@mikz

Supabase populates SUPABASE_DB_URL env variable by default in edge workers.
EDGE_WORKER_DB_URL needs to be manually created by the user, which makes it a hassle - I need to duplicate the password and in case I reset it, it needs to be regenerated.

This can't really by worked around from the user side as the edge workers can't call Deno.env.set.
Or at least allow passing it from options to EdgeWorker.start or have some global options like EdgeWorker.options that I can set before calling start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions