Change APIURL from build argument to environment variable #5

Closed
opened 2022-03-27 10:26:22 +02:00 by DutchEllie · 2 comments
Owner

The APIURL should be an environment variable within the Kubernetes deployment. This is probably possible using variable substitution with maybe such a tool like envsubst.

The APIURL should be an environment variable within the Kubernetes deployment. This is probably possible using variable substitution with maybe such a tool like `envsubst`.
Author
Owner
https://www.padok.fr/en/blog/test-environments-gitlab-kubernetes
Author
Owner

Turns out to be impossible because the clientside wasm app needs the API URL and you cannot just set an environment variable in the browser

Turns out to be impossible because the clientside wasm app needs the API URL and you cannot just set an environment variable in the browser
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: DutchEllie/proper-website-2#5
No description provided.