Fix the regex in the example - quark - quark web server | |
git clone git://git.suckless.org/quark | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit b40b11a40e9b8b85c5d95ab674f0df4c35d36f62 | |
parent 7b7f166dd58b572989d3980f973d9ed88325ece8 | |
Author: Laslo Hunhold <[email protected]> | |
Date: Tue, 27 Feb 2018 13:00:23 +0100 | |
Fix the regex in the example | |
Thanks Hiltjo! | |
Diffstat: | |
M config.def.h | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/config.def.h b/config.def.h | |
@@ -22,7 +22,7 @@ static struct { | |
} vhost[] = { | |
/* canonical host host regex directory … | |
{ "example.org", "^(www\\.)?example\\.org$", "/example.org", … | |
- { "example.org", "old\\.example\\.org", "/", … | |
+ { "example.org", "^old\\.example\\.org$", "/", … | |
}; | |
/* target prefix mapping */ |