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

x.vweb: add serve_static example in README #20740

Merged
merged 1 commit into from Feb 7, 2024

Conversation

Casper64
Copy link
Member

@Casper64 Casper64 commented Feb 6, 2024

Add a small example in the README on how to use the serve_static method on the StaticHandler struct.

At the start of the Static files doc section is an example file structure. That one is also used for this example

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

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

Good work.

@spytheman spytheman merged commit ee55e9b into vlang:master Feb 7, 2024
4 checks passed
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.

None yet

2 participants