mirror of
https://github.com/Permissionless-Software-Foundation/psf-bch-api.git
synced 2026-09-21 16:52:00 -07:00
Merge pull request #7 from Permissionless-Software-Foundation/ct-unstable
fix(port): Adding port config to .env-local file
This commit is contained in:
@@ -19,6 +19,8 @@ LOCAL_RESTURL=http://localhost:5942/v6
|
|||||||
|
|
||||||
# START ACCESS CONTROL
|
# START ACCESS CONTROL
|
||||||
|
|
||||||
|
PORT=5942
|
||||||
|
|
||||||
# x402 payments required to access this API?
|
# x402 payments required to access this API?
|
||||||
X402_ENABLED=true
|
X402_ENABLED=true
|
||||||
SERVER_BCH_ADDRESS=bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d
|
SERVER_BCH_ADDRESS=bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d
|
||||||
|
|||||||
@@ -5,4 +5,3 @@ setInterval(() => {
|
|||||||
}, 10000)
|
}, 10000)
|
||||||
|
|
||||||
console.log('Timer started. Printing "hello world" every 10 seconds...')
|
console.log('Timer started. Printing "hello world" every 10 seconds...')
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -45,7 +45,7 @@ const basicAuthDefaults = {
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
// Server port
|
// Server port
|
||||||
port: process.env.PORT || 5942,
|
port: parseInt(process.env.PORT, 10) || 5942,
|
||||||
|
|
||||||
// Environment
|
// Environment
|
||||||
env: process.env.NODE_ENV || 'development',
|
env: process.env.NODE_ENV || 'development',
|
||||||
|
|||||||
Reference in New Issue
Block a user