diff --git a/CHANGELOG.md b/CHANGELOG.md index d0ff5f3..ed6f18a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.5] - 2022-01-17 + +- New route in expressjs /alyson ## [1.0.4] - 2021-10-27 @@ -46,10 +49,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [1.0.1]: https://github.com/nicacioliveira/gactions-cicd-boilerplate/compare/1.0.0...1.0.1 -[Unreleased]: https://github.com/nicacioliveira/gactions-cicd-boilerplate/compare/1.0.4...HEAD +[unreleased]: https://github.com/nicacioliveira/gactions-cicd-boilerplate/compare/1.0.4...HEAD [1.0.4]: https://github.com/nicacioliveira/gactions-cicd-boilerplate/compare/1.0.2...1.0.4 [1.0.3]: https://github.com/nicacioliveira/gactions-cicd-boilerplate/compare/1.0.2...1.0.3 [1.0.2]: https://github.com/nicacioliveira/gactions-cicd-boilerplate/compare/1.0.1...1.0.2 + +[Unreleased]: https://github.com/nicacioliveira/gactions-cicd-boilerplate/compare/1.0.5...HEAD + +[1.0.5]: https://github.com/nicacioliveira/gactions-cicd-boilerplate/compare/1.0.4...1.0.5 diff --git a/package.json b/package.json index ff30490..61e7c56 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,5 @@ "ts-node-dev": "^1.1.8", "tsconfig-paths": "^3.11.0" }, - "version": "1.0.4" + "version": "1.0.5" } diff --git a/src/app/index.ts b/src/app/index.ts index 44579a9..00d6b6b 100644 --- a/src/app/index.ts +++ b/src/app/index.ts @@ -28,6 +28,10 @@ const configRoutes = () => { res.json(req.headers); }); + app.get("/alyson", (req, res) => { + res.json(req.headers); + }); + // subroute example const subRouter = express();