mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +00:00
fix README
This commit is contained in:
parent
eafe3fdd82
commit
7f4d71722d
4 changed files with 14 additions and 7 deletions
|
|
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.5.1] - 2021-02-12
|
||||
Functionally equivalent to version 2.5.1, only releasing a new version to update README on crates.io.
|
||||
|
||||
## Fixed
|
||||
* Fixed mistakes in the README.
|
||||
|
||||
## [2.5.0] - 2021-02-12
|
||||
Agate now has an explicit code of conduct and contributing guidelines.
|
||||
Thank you to @gegeweb for contributing to this release.
|
||||
|
|
@ -158,7 +164,8 @@ Thank you @Johann150 and @tronje for contributing to this release!
|
|||
|
||||
## [1.0.0] - 2020-05-21
|
||||
|
||||
[Unreleased]: https://github.com/mbrubeck/agate/compare/v2.5.0...HEAD
|
||||
[Unreleased]: https://github.com/mbrubeck/agate/compare/v2.5.1...HEAD
|
||||
[2.5.1]: https://github.com/mbrubeck/agate/compare/v2.5.0...v2.5.1
|
||||
[2.5.0]: https://github.com/mbrubeck/agate/compare/v2.4.1...v2.5.0
|
||||
[2.4.1]: https://github.com/mbrubeck/agate/compare/v2.4.0...v2.4.1
|
||||
[2.4.0]: https://github.com/mbrubeck/agate/compare/v2.3.0...v2.4.0
|
||||
|
|
|
|||
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -2,7 +2,7 @@
|
|||
# It is not intended for manual editing.
|
||||
[[package]]
|
||||
name = "agate"
|
||||
version = "2.5.0"
|
||||
version = "2.5.1"
|
||||
dependencies = [
|
||||
"configparser",
|
||||
"env_logger",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "agate"
|
||||
version = "2.5.0"
|
||||
version = "2.5.1"
|
||||
authors = ["Matt Brubeck <mbrubeck@limpet.net>", "Johann150 <johann+agate@qwertqwefsday.eu>"]
|
||||
description = "Very simple server for the Gemini hypertext protocol"
|
||||
keywords = ["server", "gemini", "hypertext", "internet", "protocol"]
|
||||
|
|
|
|||
|
|
@ -96,17 +96,17 @@ If a line violates the format or looks like case 3, but is incorrect, it might b
|
|||
Such a configuration file might look like this:
|
||||
```text
|
||||
# This line will be ignored.
|
||||
**.de.gmi: ;lang=de
|
||||
nl/**.gmi: ;lang=nl
|
||||
**/*.de.gmi: ;lang=de
|
||||
nl/**/*.gmi: ;lang=nl
|
||||
index.gmi: ;lang=en-UK
|
||||
LICENSE: text/plain;charset=UTF-8
|
||||
gone.gmi: 52 This file is no longer here, sorry.
|
||||
```
|
||||
|
||||
If this is the `.meta` file in the content root directory and the `-C' flag is used, this will result in the following:
|
||||
If this is the `.meta` file in the content root directory and the `-C` flag is used, this will result in the following:
|
||||
requested filename|response header
|
||||
---|---
|
||||
`/ ` or `/index.gmi`|`20 text/gemini;lang=en-UK`
|
||||
`/` or `/index.gmi`|`20 text/gemini;lang=en-UK`
|
||||
`/LICENSE`|`20 text/plain;charset=UTF-8`
|
||||
`/gone.gmi`|`52 This file is no longer here, sorry.`
|
||||
any non-hidden file ending in `.de.gmi` (including in non-hidden subdirectories)|`20 text/gemini;lang=de`
|
||||
|
|
|
|||
Loading…
Reference in a new issue