Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
tlienart committed Mar 15, 2022
1 parent 91e9e9e commit 5c1e256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.jl
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ function serve_file(
# --> other: just get the browser to show it
#

ext = last(splitext(fs_path))[2:end]
ext = lstrip(last(splitext(fs_path)), '.')
content = read(fs_path, String)

# build the response with appropriate mime type (this is inspired from Mux
Expand Down

2 comments on commit 5c1e256

@tlienart
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request updated: JuliaRegistries/General/56630

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.4 -m "<description of version>" 5c1e256d11dc35628a87c55f48c0c16f853b2788
git push origin v0.7.4

Please sign in to comment.