aboutsummaryrefslogtreecommitdiffstats
path: root/license-generator/src
diff options
context:
space:
mode:
Diffstat (limited to 'license-generator/src')
-rw-r--r--license-generator/src/bin/license.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/license-generator/src/bin/license.rs b/license-generator/src/bin/license.rs
index ca29260..5010fff 100644
--- a/license-generator/src/bin/license.rs
+++ b/license-generator/src/bin/license.rs
@@ -215,6 +215,8 @@ fn main() -> Result<()> {
};
if let Some(path) = req.param("REQUEST_URI") {
+ let path = path.split("?").collect::<Vec<_>>()[0];
+
match path.as_ref() {
"/license" => {
// Get params name, email, secret