diff --git a/changelog.txt b/changelog.txt index 4739c88..32162ca 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1 +1 @@ -added API docs url to api dashboard \ No newline at end of file +added create url button to request \ No newline at end of file diff --git a/src/routes/projects.ts b/src/routes/projects.ts index 2ea31e2..74299f1 100644 --- a/src/routes/projects.ts +++ b/src/routes/projects.ts @@ -41,7 +41,7 @@ router.get("/:project", (req: Request, res: Response) => { res.render("projects/dcWebhook"); } else if(project == "request"){ - res.render("projects/request"); + res.render("projects/request", { url: req.query.url ? req.query.url : "", method: req.query.method ? req.query.method : "GET" }); } else { res.render("404"); diff --git a/views/projects/request.ejs b/views/projects/request.ejs index 7501381..fb97d64 100644 --- a/views/projects/request.ejs +++ b/views/projects/request.ejs @@ -16,13 +16,13 @@
- +

@@ -36,6 +36,11 @@
+ +

+ +

+ \ No newline at end of file