Skip to content

Update api header to support site and from #1207

@nathanclevenger

Description

@nathanclevenger

We need site to be the domain if it is .do but if it's a preview domain (*.dev.driv.ly) or localhost, then we need site to be whatever the current root domain (like workflows or functions, etc) with a default of workflows at /sites/workflows.do

We also need to add from which on a normal domain should be https://dotdo.ai but if it's a preview domain or localhost then it should go to /sites

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