Skip to content

Conversation

@slekrem
Copy link

@slekrem slekrem commented Sep 25, 2025

  • Add RestWallet class for REST API communication
  • Add mint_rest_endpoint and mint_rest_api_key settings
  • Import RestWallet in lightning init.py

- Add RestWallet class for REST API communication
- Add mint_rest_endpoint and mint_rest_api_key settings
- Import RestWallet in lightning __init__.py
- Create static/ directory for HTML assets
- Add index.html with semantic HTML5 structure
- Add responsive CSS with mobile/tablet/desktop breakpoints
- Configure FastAPI to serve static files at root URL
- Mount static files AFTER API routers to prevent conflicts
- Add safety check for static directory existence

This replaces the {"detail":"Not Found"} JSON error at root URL
with a professional placeholder landing page for nutmarkets.
@slekrem slekrem marked this pull request as draft October 9, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant