fix(basic auth): Rejecting API calls that do not include basic auth header

This commit is contained in:
Chris Troutner
2025-11-25 08:27:35 -08:00
parent 0461db96c1
commit c79c3fa59d
2 changed files with 35 additions and 9 deletions
+7 -6
View File
@@ -6,13 +6,13 @@ RPC_USERNAME=bitcoin
RPC_PASSWORD=password
# Fulcrum Indexer
FULCRUM_API=http://192.168.2.127:3001/v1
FULCRUM_API=http://172.17.0.1:3001/v1
# SLP Indexer
SLP_INDEXER_API=http://192.168.2.127:5010
SLP_INDEXER_API=http://localhost:5010
# REST API URL for wallet operations
LOCAL_RESTURL=http://localhost:5942/v6/
LOCAL_RESTURL=http://localhost:5942/v6
# END INFRASTRUCTURE SETUP
@@ -23,7 +23,8 @@ LOCAL_RESTURL=http://localhost:5942/v6/
X402_ENABLED=false
# Basic Authentication required to access this API?
USE_BASIC_AUTH=false
#BASIC_AUTH_TOKEN=some-random-token
USE_BASIC_AUTH=true
BASIC_AUTH_TOKEN=some-random-token
# END ACCESS CONTROL
# END ACCESS CONTROL