-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I am using the default marko-run project with the adapter-static adapter..
When I create a route structure like this:
src/routes
├── foo
│ └── +page.marko
└── +page.marko
... and I run marko-run build, I get this output:
dist/public
├── foo.html
└── index.html
If I then copy these files to my file server and try to connect to my website, I cannot connect to the subpage. Connecting to example.com/foo or example.com/foo/ both return 404 errors. I must explicitly connect to example.com/foo.html to see the page.
I would prefer the output structure to look like this:
dist/public
├── foo
│ └── index.html
└── index.html
That would allow the server to correctly locate foo/index.html when connecting to either of example.com/foo or example.com/foo/. As far as I can tell, there is no option to enable this behavior. Is that something you could add?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels