Skip to content

Make preact serve always use default config OR remove preact serve #4

@scottmas

Description

@scottmas

After executing preact build and then running preact serve in the build directory, I'm always getting 404's. It works fine when I do a http server. And it even works when I use local-web-server with their --https option. But nada with preact serve.

On a related note, preact serve also seems to break http connections to localhost, since they always get redirected to https. I had to use this SO answer to fix it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions