Skip to content

Commit

Permalink
docs(typo): Set correct file extension (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei authored Mar 25, 2024
1 parent e7d8aeb commit d567689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/docs/guide/resources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Take a look at the http://asset-pipeline.com/manual[documentation] for the asset

If you do not want to use the Asset-Pipeline plugin, you can serve the static assets from directories `src/main/resources/public` or `src/main/webapp`, but the latter one only gets included in WAR packaging but not in JAR packaging.

For example, if you had a file stored at `/src/main/resources/public/images/example.png` and your Grails application was running on port 8080, then you could access the file by navigating to http://localhost:8080/static/images/example.jpg[http://localhost:8080/static/images/example.jpg].
For example, if you had a file stored at `/src/main/resources/public/images/example.jpg` and your Grails application was running on port 8080, then you could access the file by navigating to http://localhost:8080/static/images/example.jpg[http://localhost:8080/static/images/example.jpg].

==== Cache Configuration for Static Resources

Expand Down

0 comments on commit d567689

Please sign in to comment.