Skip to content

Fix "Static site generation" code documentation #4155

@andrewmosby

Description

@andrewmosby

const { data } = await sbApi.get(`cdn/stories/${slug}`, {

Stepping through this documentation at this step results in an error that "This record could not be found."

Updating this line to cdn/stories/blog/${slug} fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help - confirm behaviourWalk through the example/issue and confirm this is a general behaviour, or a correct update to make.help wantedIssues looking for someone to run with them!improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions