Heroku fix and README update
This commit is contained in:
parent
1cc5743051
commit
c9610cfd0e
3 changed files with 14 additions and 6 deletions
|
@ -13,7 +13,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="center">
|
<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>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
10
package.json
10
package.json
|
@ -3,7 +3,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": "^7.2.5",
|
"@babel/polyfill": "^7.2.5",
|
||||||
"@inc/fastify-ws": "^1.1.0",
|
"@inc/fastify-ws": "^1.1.0",
|
||||||
"@octokit/rest": "^16.3.0",
|
"@octokit/rest": "^16.6.1",
|
||||||
"@slack/client": "^4.8.0",
|
"@slack/client": "^4.8.0",
|
||||||
"app-root-path": "^2.1.0",
|
"app-root-path": "^2.1.0",
|
||||||
"async": "^2.6.1",
|
"async": "^2.6.1",
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
"fastify": "^2.0.0-rc.1",
|
"fastify": "^2.0.0-rc.1",
|
||||||
"fastify-compress": "^0.7.1",
|
"fastify-compress": "^0.7.1",
|
||||||
"fastify-helmet": "^3.0.0",
|
"fastify-helmet": "^3.0.0",
|
||||||
"fastify-static": "^2.0.0",
|
"fastify-static": "^1.1.0",
|
||||||
"fastify-ws": "^1.0.0",
|
"fastify-ws": "^1.0.0",
|
||||||
"front-matter": "^3.0.1",
|
"front-matter": "^3.0.1",
|
||||||
"fs-exists-sync": "^0.1.0",
|
"fs-exists-sync": "^0.1.0",
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
"markdown-it-anchor": "^5.0.2",
|
"markdown-it-anchor": "^5.0.2",
|
||||||
"prismjs": "^1.15.0",
|
"prismjs": "^1.15.0",
|
||||||
"redis": "^2.8.0",
|
"redis": "^2.8.0",
|
||||||
"slack-node": "^0.2.0",
|
"slack-node": "^0.1.8",
|
||||||
"socket.io": "^2.2.0",
|
"socket.io": "^2.2.0",
|
||||||
"stringify-object": "^3.3.0"
|
"stringify-object": "^3.3.0"
|
||||||
},
|
},
|
||||||
|
@ -60,12 +60,12 @@
|
||||||
"@inc/sasslint-config": "^1.1.2",
|
"@inc/sasslint-config": "^1.1.2",
|
||||||
"@lbry/color": "^1.1.0",
|
"@lbry/color": "^1.1.0",
|
||||||
"@lbry/components": "^1.6.3",
|
"@lbry/components": "^1.6.3",
|
||||||
"eslint": "^5.11.1",
|
"eslint": "^5.12.0",
|
||||||
"husky": "^1.3.1",
|
"husky": "^1.3.1",
|
||||||
"nodemon": "^1.18.9",
|
"nodemon": "^1.18.9",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"pino-pretty": "^2.5.0",
|
"pino-pretty": "^2.5.0",
|
||||||
"sass": "^1.15.2",
|
"sass": "^1.15.3",
|
||||||
"sass-lint": "^1.12.1",
|
"sass-lint": "^1.12.1",
|
||||||
"snazzy": "^8.0.0",
|
"snazzy": "^8.0.0",
|
||||||
"standardx": "^3.0.1",
|
"standardx": "^3.0.1",
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
const color = require("colorette");
|
const color = require("colorette");
|
||||||
const cors = require("cors");
|
const cors = require("cors");
|
||||||
const local = require("app-root-path").require;
|
const local = require("app-root-path").require;
|
||||||
|
const ssl = require("heroku-ssl-redirect");
|
||||||
|
|
||||||
const fastify = require("fastify")({
|
const fastify = require("fastify")({
|
||||||
logger: {
|
logger: {
|
||||||
|
@ -25,6 +26,7 @@ const messageSlack = local("app/helpers/slack").default;
|
||||||
// P R O G R A M
|
// P R O G R A M
|
||||||
|
|
||||||
fastify
|
fastify
|
||||||
|
.use(ssl())
|
||||||
.use(cors())
|
.use(cors())
|
||||||
.register(require("fastify-compress"))
|
.register(require("fastify-compress"))
|
||||||
.register(require("@inc/fastify-ws"))
|
.register(require("@inc/fastify-ws"))
|
||||||
|
|
Loading…
Reference in a new issue