diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | stats/Cargo.toml (renamed from corgi_stats/Cargo.toml) | 0 | ||||
-rw-r--r-- | stats/src/main.rs (renamed from corgi_stats/src/main.rs) | 0 | ||||
-rw-r--r-- | stats/src/style.css (renamed from corgi_stats/src/style.css) | 0 |
5 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml index 25c0cd5..9568d9e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = ["corgi", "parrot", "corgi_stats"] +members = ["corgi", "parrot", "stats"] resolver = "3" # use this profile like this: diff --git a/README.md b/README.md index 32c8f3d..ffa270b 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ Script <path-to-cgi-script> See [corgi.conf](corgi.conf) for the configuration I use with my cgit instance. -Scripts are tried in order, looking for one that matches. If none match, -the first script is ran. +Scripts are tried in order, looking for one that has a matching regex. If a +script does not have a regex, it is selected. If none match, 404 is returned. Sets the following environmental variables for the CGI script, many following [RFC 3875][rfc]: - **`GATEWAY_INTERFACE`** to the fixed value `CGI/1.1` diff --git a/corgi_stats/Cargo.toml b/stats/Cargo.toml index a012b94..a012b94 100644 --- a/corgi_stats/Cargo.toml +++ b/stats/Cargo.toml diff --git a/corgi_stats/src/main.rs b/stats/src/main.rs index 2e0c372..2e0c372 100644 --- a/corgi_stats/src/main.rs +++ b/stats/src/main.rs diff --git a/corgi_stats/src/style.css b/stats/src/style.css index 5b3995d..5b3995d 100644 --- a/corgi_stats/src/style.css +++ b/stats/src/style.css |