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

An example about how to embed static web resources in hertz #149

Closed
kamiertop opened this issue Jun 16, 2024 · 1 comment
Closed

An example about how to embed static web resources in hertz #149

kamiertop opened this issue Jun 16, 2024 · 1 comment

Comments

@kamiertop
Copy link

kamiertop commented Jun 16, 2024

Is your feature request related to a problem? Please describe.

An example about how to embed static web resources in hertz.

Describe the solution you'd like

I'm going to add an example.

Describe alternatives you've considered

None.

Additional context

Add any other context or screenshots about the feature request here.
None.

@kamiertop kamiertop changed the title An example about how to use embed package An example about how to use embed package in hertz Jun 16, 2024
@kamiertop kamiertop changed the title An example about how to use embed package in hertz An example about how to embed static web resources in hertz Jun 16, 2024
@xiaost
Copy link

xiaost commented Jan 14, 2025

https://github.com/cloudwego/hertz-examples/tree/main/file

embed static web resources are kind of in-memory files.
if user wants to know how to serve files, see the link above.

@xiaost xiaost closed this as completed Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants