Skip to content

Check Path is being treated like a URL not a file path #32

Open
@erin-doyle

Description

@erin-doyle

With the following netlify.toml file:

[[plugins]]
package = "netlify-plugin-a11y"

  [plugins.inputs]
  checkPaths = [
    '/index.html',
  ]

I'm receiving the following error:
Error: net::ERR_NAME_NOT_RESOLVED at http://build/index.html

My publish directory is set to build in the Build settings. I have no idea why the path is being prepended with http://. At first I thought maybe checkPaths must be expecting URL values but after experimenting with that it just appends whatever values I supply to http://build/. Is there something I'm doing wrong to trigger this behavior?

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