Skip to content

ChartList: Add file extension to production links #102

@sjockers

Description

@sjockers

Due to configuration specifics on static.datenhub.net, we do not automatically serve the index file for a given directory (/example/route/index.html when /example/route/ is requested). To mitigate this, I'd suggest we manually add index.html to the links in ChartList when building for production.

I suggest to simply add the .html postfix, as route configuration in SvelteKit defaults to:

export const trailingSlash = 'never';

– which means prerending HTML files like this: path/my-route.html, not like this path/my-route/index.html.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions