Skip to content

Releases: BackendStack21/restana-static

Updating dependencies and docs

01 May 10:22
Compare
Choose a tag to compare

Changes:

  • Dependencies were updated to latest versions.
  • Documentation was updated.

Fixing environment variable typo + Updating dependencies

10 Jan 15:20
Compare
Choose a tag to compare

Changes:

  • Fixing environment variable typo: DEFALUT_FILE is now DEFAULT_FILE
  • Updating dependencies

Updating dependencies

16 Nov 19:39
Compare
Choose a tag to compare
  "dependencies": {
    "config": "^3.3.2",
    "helmet": "^3.23.3",
    "http-cache-middleware": "^1.3.6",
    "morgan": "^1.10.0",
    "restana": "^4.8.0",
    "serve-static": "^1.14.1"
  },
  "devDependencies": {
    "chai": "^4.2.0",
    "mocha": "^8.2.1",
    "supertest": "^4.0.2"
  }

Updating dependencies

22 Aug 20:28
Compare
Choose a tag to compare

Updating dependencies to latest versions.

Updating dependencies

01 Jun 17:21
Compare
Choose a tag to compare

Changes:

  • Dependencies were updated to latest versions.

Updating dependencies

27 May 17:08
Compare
Choose a tag to compare

Changes:

  • Dependencies were updated to latest versions.

Allow to disable service logs

20 May 13:59
Compare
Choose a tag to compare

Changes:

  • New boolean logsEnabled configuration was added to allow develops to disable logs.
  • Updating restana to latest version.

Introducing middlewares

10 May 12:12
9c259fc
Compare
Choose a tag to compare

Changes:

  • With this release we add support for custom middlewares support.
  • Helmet is now enabled by default.

Implementation details

Custom middlewares

You can also introduce other features such as authentication, security protections, etc... by using custom middlewares.
You can just replace the middlewares.js file by your own configuration.

Default:

// custom middlewares set
// this file is intended to be overwritten by final images
const helmet = require('helmet')

module.exports = [
  helmet
]

Please note that the helmet middleware enabled by default. See more details here: https://www.npmjs.com/package/helmet

Update dependencies

05 May 15:02
Compare
Choose a tag to compare

Changes:

  • Updating dependencies to latest versions.

Update dependencies

05 May 14:06
Compare
Choose a tag to compare

Changes:

  • Updating http-cache-middleware module to latest version.