Move local development openSCAD url to env vars #243

Merged
Irev-Dev merged 1 commits from kurt/242 into main 2021-03-13 07:26:56 +01:00
Irev-Dev commented 2021-03-13 07:26:47 +01:00 (Migrated from github.com)

I think this make it easier to swap between using the aws endpoint and
local endpoint but without having to worry about accidentally committing
the local endpoint if you absent mindedly staging everything, and it
still defaults to aws so it's easy setup for anyone doing a fresh clone.

add OPENSCAD_BASE_URL="http://localhost:8080" to you .env file.

You will have to restart yarn rw dev for the url to swap over though.

I'm not sure if you set up the local aws stuff or not, but just an FYI for future if you do @franknoirot

Resolves #242

I think this make it easier to swap between using the aws endpoint and local endpoint but without having to worry about accidentally committing the local endpoint if you absent mindedly staging everything, and it still defaults to aws so it's easy setup for anyone doing a fresh clone. add OPENSCAD_BASE_URL="http://localhost:8080" to you .env file. You will have to restart yarn rw dev for the url to swap over though. I'm not sure if you set up the local aws stuff or not, but just an FYI for future if you do @franknoirot Resolves #242
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: h3n3/cadhub#243