Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to use .env for node and wallet-rpc config #11

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

trasherdk
Copy link

@trasherdk trasherdk commented Nov 1, 2024

As I don't have anything running on localhost, these changes are what's needed for my environment.

Monero stuff, monerod and wallet-rpc are running on one host.

I had to proxy wallet-rpc, as it does not respond well to preflight OPTIONS requests.
Proxy: https://proxy.domain.tld/rpc/port

Another host is for development, and are serving this thing as a website: https://www.domain.tld

The test runs successfully in all 3 variations.
pnpm dev, pnpm start and served by Apache from dist directory.

Let me know what you think.

index.html: Add no-cache headers
- placeholder for daemon info

WIP: replace hardcoded with env values

Ignore npm/pnpm lock-files

Add more .env variables
- split build & start
- add curl node test
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