mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 12:35:28 +00:00
fix check_outdated
This commit is contained in:
parent
f7ac1fe21b
commit
e68637fb1b
2 changed files with 12 additions and 9 deletions
|
|
@ -43,7 +43,7 @@ All of the command-line arguments are optional. Run `agate --help` to see the d
|
|||
|
||||
When a client requests the URL `gemini://example.com/foo/bar`, Agate will respond with the file at `path/to/content/foo/bar`. If any segment of the requested path starts with a dot, agate will respond with a status code 52, even if the file does not exist (this behaviour can be disabled with `--serve-secret`). If there is a directory at that path, Agate will look for a file named `index.gmi` inside that directory. If there is no such file, but a file named `.directory-listing-ok` exists inside that directory, a basic directory listing is displayed. Files or directories whose name starts with a dot (e.g. the `.directory-listing-ok` file itself) are omitted from the list.
|
||||
|
||||
Agate will look for a file called `.lang` in the same directory as the file currently being served. If this file exists and has an entry for the current file, the respective data will be used to formulate the response header.
|
||||
Agate will look for a file called `.mime` in the same directory as the file currently being served. If this file exists and has an entry for the current file, the respective data will be used to formulate the response header.
|
||||
The lines of the file should have this format:
|
||||
|
||||
```text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue