Skip to content

[amp-autocomplete ] Fix invalid URL protocol for local development #5402

@artneo-io

Description

@artneo-io

Bug Description

Invalid URL protocol http: for attribute src for amp-autocomplete on local development.

The plugin triggers INVALID_URL_PROTOCOL for //localhost:3000/wp-json/neoblog/v1/search/ URL.

error

Expected Behaviour

It shouldn't be consider an error. To test amp-autocomplete I need to disable the plugin or select View with AMP disabled.

view-with-amp-disabled


Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

Metadata

Metadata

Assignees

Labels

ChangeloggedWhether the issue/PR has been added to release notes.WS:CoreWork stream for Plugin core

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions