NODE JS introduction: socket polling
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Node.js real-time server config
|
||||
# Copy this file to .env and fill in the values
|
||||
|
||||
# Port the Node.js server listens on
|
||||
PORT=3000
|
||||
|
||||
# Secret key — PHP sends this in x-emit-secret header to authenticate /emit calls
|
||||
# Use a long random string in production
|
||||
EMIT_SECRET=
|
||||
Reference in New Issue
Block a user