Heroku fix and README update

This commit is contained in:
ポール ウェッブ 2019-01-08 10:54:56 -06:00
parent 1cc5743051
commit c9610cfd0e
3 changed files with 14 additions and 6 deletions

View file

@ -13,7 +13,13 @@
</div>
<div align="center">
<a href="https://travis-ci.org/lbryio/lbry.tech"><img src="https://img.shields.io/travis/lbryio/lbry.tech/master.svg?style=flat-square"/></a>
<a href="https://travis-ci.org/lbryio/lbry.tech">
<img src="https://img.shields.io/travis/lbryio/lbry.tech/master.svg?style=flat-square"/>
</a>
<a href="https://snyk.io/test/github/lbryio/lbry.tech">
<img src="https://snyk.io/test/github/lbryio/lbry.tech/badge.svg"/>
</a>
</div>

View file

@ -3,7 +3,7 @@
"dependencies": {
"@babel/polyfill": "^7.2.5",
"@inc/fastify-ws": "^1.1.0",
"@octokit/rest": "^16.3.0",
"@octokit/rest": "^16.6.1",
"@slack/client": "^4.8.0",
"app-root-path": "^2.1.0",
"async": "^2.6.1",
@ -23,7 +23,7 @@
"fastify": "^2.0.0-rc.1",
"fastify-compress": "^0.7.1",
"fastify-helmet": "^3.0.0",
"fastify-static": "^2.0.0",
"fastify-static": "^1.1.0",
"fastify-ws": "^1.0.0",
"front-matter": "^3.0.1",
"fs-exists-sync": "^0.1.0",
@ -36,7 +36,7 @@
"markdown-it-anchor": "^5.0.2",
"prismjs": "^1.15.0",
"redis": "^2.8.0",
"slack-node": "^0.2.0",
"slack-node": "^0.1.8",
"socket.io": "^2.2.0",
"stringify-object": "^3.3.0"
},
@ -60,12 +60,12 @@
"@inc/sasslint-config": "^1.1.2",
"@lbry/color": "^1.1.0",
"@lbry/components": "^1.6.3",
"eslint": "^5.11.1",
"eslint": "^5.12.0",
"husky": "^1.3.1",
"nodemon": "^1.18.9",
"npm-run-all": "^4.1.5",
"pino-pretty": "^2.5.0",
"sass": "^1.15.2",
"sass": "^1.15.3",
"sass-lint": "^1.12.1",
"snazzy": "^8.0.0",
"standardx": "^3.0.1",

View file

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