Merge pull request #7 from Permissionless-Software-Foundation/ct-unstable

fix(port): Adding port config to .env-local file
This commit is contained in:
Chris Troutner
2025-11-28 06:01:01 -08:00
committed by GitHub
3 changed files with 3 additions and 2 deletions
+2
View File
@@ -19,6 +19,8 @@ LOCAL_RESTURL=http://localhost:5942/v6
# START ACCESS CONTROL
PORT=5942
# x402 payments required to access this API?
X402_ENABLED=true
SERVER_BCH_ADDRESS=bitcoincash:qqlrzp23w08434twmvr4fxw672whkjy0py26r63g3d
-1
View File
@@ -5,4 +5,3 @@ setInterval(() => {
}, 10000)
console.log('Timer started. Printing "hello world" every 10 seconds...')
+1 -1
View File
@@ -45,7 +45,7 @@ const basicAuthDefaults = {
export default {
// Server port
port: process.env.PORT || 5942,
port: parseInt(process.env.PORT, 10) || 5942,
// Environment
env: process.env.NODE_ENV || 'development',