0.2.1 • Published 4 months ago

@robinblomberg/heroku-ssl-redirect v0.2.1

Weekly downloads
-
License
-
Repository
github
Last release
4 months ago

Heroku SSL redirect

Express.js library for redirecting Heroku HTTP requests to HTTPS in production.

Installation

npm install @robinblomberg/heroku-ssl-redirect

Usage

import { herokuSslRedirect } from 'heroku-ssl-redirect';
import express from 'express';

const app = express();

app.use(herokuSslRedirect());

app.get('/', (req, res) => {
  res.send('Hello world!');
});

app.listen(3000);
0.2.1

4 months ago

0.2.0

4 months ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago