Skip to content

chore: remove handlebars#464

Merged
Uzlopak merged 2 commits intomasterfrom
remove-handlebars
Aug 22, 2024
Merged

chore: remove handlebars#464
Uzlopak merged 2 commits intomasterfrom
remove-handlebars

Conversation

@Uzlopak
Copy link
Copy Markdown
Contributor

@Uzlopak Uzlopak commented Aug 21, 2024

Checklist

@jsumners
Copy link
Copy Markdown
Member

Is there a reason?

@Uzlopak
Copy link
Copy Markdown
Contributor Author

Uzlopak commented Aug 21, 2024

@jsumners

the handlebars test does not make any sense, and is more like a handlebars test than a fastify-static test.

Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get the test part but the example without a template engine is dangerous as if a file name contains " or a special HTML char, the template in this example would break

Even if it would be fine here, it's not a good practice to show it as an example I think

@Uzlopak
Copy link
Copy Markdown
Contributor Author

Uzlopak commented Aug 21, 2024

Maybe, but even we are not using handlebars in our implementation of fastifystatic

Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

jsumners
jsumners approved these changes Aug 22, 2024
@Uzlopak Uzlopak merged commit 39e89ea into master Aug 22, 2024
@Uzlopak Uzlopak deleted the remove-handlebars branch August 22, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants