diff --git a/cashu/mint/app.py b/cashu/mint/app.py index 2dc64d9..d4594cc 100644 --- a/cashu/mint/app.py +++ b/cashu/mint/app.py @@ -69,15 +69,23 @@ def create_app(config_object="core.settings") -> FastAPI: # Middleware(CustomHeaderMiddleware), # ] - middleware = [Middleware(CORSMiddleware, allow_origins=["*"])] + middleware = [ + Middleware( + CORSMiddleware, + allow_origins=["*"], + allow_methods=["*"], + allow_headers=["*"], + expose_headers=["*"], + ) + ] app = FastAPI( - title="Cashu Mint", - description="Ecash wallet and mint with Bitcoin Lightning support.", + title="Cashu Python Mint", + description="Ecash wallet and mint for Bitcoin", version=VERSION, license_info={ "name": "MIT License", - "url": "https://raw.githubusercontent.com/callebtc/cashu/main/LICENSE", + "url": "https://raw.githubusercontent.com/cashubtc/cashu/main/LICENSE", }, middleware=middleware, )