Revert Heroku "fix"

This commit is contained in:
ポール ウェッブ 2019-01-08 11:03:42 -06:00
parent 8b41dd8d8e
commit e5de8907df

View file

@ -7,7 +7,7 @@
const color = require("colorette");
const cors = require("cors");
const local = require("app-root-path").require;
const ssl = require("heroku-ssl-redirect");
// const ssl = require("heroku-ssl-redirect");
const fastify = require("fastify")({
logger: {
@ -26,7 +26,7 @@ const messageSlack = local("app/helpers/slack").default;
// P R O G R A M
fastify
.use(ssl())
// .use(ssl())
.use(cors())
.register(require("fastify-compress"))
.register(require("@inc/fastify-ws"))