diff --git a/.env b/.env deleted file mode 100644 index 732ce500..00000000 --- a/.env +++ /dev/null @@ -1,7 +0,0 @@ -REACT_APP_API_URL="/v1/graphql" -REACT_APP_API_WS_URL="ws://localhost:4180/v1/graphql" - -REACT_APP_VERSION=${VERSION} -REACT_APP_SHA_VERSION=${GIT_SHA} -INLINE_RUNTIME_CHUNK=false -GENERATE_SOURCEMAP=false diff --git a/.env.production b/.env.production deleted file mode 100644 index 79f034d4..00000000 --- a/.env.production +++ /dev/null @@ -1,2 +0,0 @@ -REACT_APP_API_URL="/v1/graphql" -#REACT_APP_API_WS_URL= diff --git a/README.md b/README.md index a6fd7dce..42eb2fa0 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Oauth2_PROXY clients can be created using Auth0.... ``` OAUTH2_PROXY_CLIENT_ID=... OAUTH2_PROXY_CLIENT_SECRET=... -OAUTH2_PROXY_OIDC_ISSUER_URL=https://${TENANT.eu.auth0.com/ +OAUTH2_PROXY_OIDC_ISSUER_URL=https://${TENANT}.eu.auth0.com/ HASURA_GRAPHQL_JWT_SECRET='{"type":"RS256","key":"-----BEGIN CERTIFICATE-----\n ... }\n-----END CERTIFICATE-----\n","header":{"type":"Authorization"},"claims_map":{"x-hasura-user-id":{"path":"$.sub"},"x-hasura-email":{"path":"$.email"},"x-hasura-allowed-roles":["user","editor"],"x-hasura-default-role":"user"}}' diff --git a/ui/.env b/ui/.env new file mode 100644 index 00000000..2785e6c5 --- /dev/null +++ b/ui/.env @@ -0,0 +1,4 @@ +VITE_API_URL="/v1/graphql" +VITE_API_WS_URL="ws://localhost:4180/v1/graphql" +VITE_VERSION=${VERSION} +VITE_SHA_VERSION=${GIT_SHA} diff --git a/ui/.env.production b/ui/.env.production new file mode 100644 index 00000000..286440b8 --- /dev/null +++ b/ui/.env.production @@ -0,0 +1 @@ +VITE_API_URL="/v1/graphql" \ No newline at end of file diff --git a/ui/public/index.html b/ui/index.html similarity index 70% rename from ui/public/index.html rename to ui/index.html index 2b64f0da..d336a132 100644 --- a/ui/public/index.html +++ b/ui/index.html @@ -3,19 +3,19 @@
- + - - + +