Skip to content

adapter-static does not output to root of dist folder #172

@atjn

Description

@atjn

I am using the default marko-run project with the adapter-static adapter.

When I try to run marko-run build, it will output the built files to dist/public. When I then upload the files to my file server, the front page of my website (example.com) will return a 404 error because there is nothing in the root folder. You must navigate to example.com/public to see the front page.

I think the behavior of the static adapter should be changed to always output files to the root folder. If you don't agree with that, I would request that you add an option to the configuration that allows me to put the files in the root folder.

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