1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/custom-server-proxy-websocket/package.json
JJ Kasper 5d779a0289 Add falling back to fetch based pinging for onDemandEntries (#6310)
After discussion, I added falling back to fetch based pinging when the WebSocket fails to connect. I also added an example of how to proxy the onDemandEntries WebSocket when using a custom server. Fixes: #6296
2019-02-15 22:22:21 +01:00

22 lines
438 B
JSON

{
"name": "custom-server-proxy-websocket",
"version": "1.0.0",
"main": "server.js",
"license": "MIT",
"scripts": {
"dev": "node server.js",
"build": "next build",
"ssl": "./genSSL.sh",
"start": "NODE_ENV=production node server.js"
},
"dependencies": {
"express": "4.16.4",
"next": "8.0.1",
"react": "16.8.2",
"react-dom": "16.8.2"
},
"devDependencies": {
"http-proxy": "1.17.0"
}
}