Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(serverless,cli): Support .html and index.html for static file paths #252

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

QuiiBz
Copy link
Member

@QuiiBz QuiiBz commented Nov 13, 2022

About

Closes #232

Previously, static files were only served when the URL matched the file path. That causes issues for many frameworks, that rely on a foo.html to serve the /foo URL, or bar/index.html to serve the /bar URL.

The two above paths are now supported for both CLI and serverless, and allow to serve HTML files without having the extension (.html) in the URL.

@QuiiBz QuiiBz merged commit 745ad8d into main Nov 13, 2022
@QuiiBz QuiiBz deleted the feat/serverless-html-static branch November 13, 2022 16:24
@QuiiBz QuiiBz mentioned this pull request Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serve index.html
1 participant