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

How can i serve the static folder using Router? #203

Closed
gari-ma opened this issue Apr 9, 2023 · 1 comment
Closed

How can i serve the static folder using Router? #203

gari-ma opened this issue Apr 9, 2023 · 1 comment

Comments

@gari-ma
Copy link

gari-ma commented Apr 9, 2023

I have a folder called public in my working directory. I want to make the static folder routes available to use. How can I do so?

@bramus
Copy link
Owner

bramus commented Apr 11, 2023

If you’ve configured your webserver correctly, it will serve these files out of the box. See the demo .htaccess for example, which does this for Apache.

@bramus bramus closed this as completed Apr 11, 2023
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

No branches or pull requests

2 participants