diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-11-30 01:18:19 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-11-30 01:18:19 -0500 |
| commit | 6e9a8402c3b5901d4cf5c9b470bd8d0e90738ef7 (patch) | |
| tree | 6220f800307ee53baece522e9ed67946aea6038a | |
| parent | 439514c1662e11ce3a630c1da6c1cf81fa97f1d1 (diff) | |
| download | ao-coverage-6e9a8402c3b5901d4cf5c9b470bd8d0e90738ef7.tar.gz ao-coverage-6e9a8402c3b5901d4cf5c9b470bd8d0e90738ef7.tar.bz2 ao-coverage-6e9a8402c3b5901d4cf5c9b470bd8d0e90738ef7.zip | |
Disable branch GET EPs until Metadata is done
| -rw-r--r-- | src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts index 13b5f76..e55ad10 100644 --- a/src/index.ts +++ b/src/index.ts @@ -97,7 +97,7 @@ app.get("/v1/:org/:repo/:branch.svg", (req, res) => { //TODO @Metadata get the commit @@ via metadata const commit = ""; - res.sendFile(path.join(HOST_DIR, org, repo, branch, commit, "badge.svg")); + //res.sendFile(path.join(HOST_DIR, org, repo, branch, commit, "badge.svg")); return res.status(501).send(); }); @@ -108,7 +108,7 @@ app.get("/v1/:org/:repo/:branch.html", (req, res) => { //TODO @Metadata get the commit @@ via metadata const commit = ""; - res.sendFile(path.join(HOST_DIR, org, repo, branch, commit, "index.html")); + //res.sendFile(path.join(HOST_DIR, org, repo, branch, commit, "index.html")); return res.status(501).send(); }); |
