Skip to content

Commit

Permalink
Merge pull request #19 from CNAG-Biomedical-Informatics/filepond-dele…
Browse files Browse the repository at this point in the history
…te-triggers-reupload

Filepond delete triggers reupload
  • Loading branch information
IvoLeist authored Dec 12, 2023
2 parents 943c892 + 4c60026 commit d59232f
Show file tree
Hide file tree
Showing 16 changed files with 157 additions and 183 deletions.
1 change: 1 addition & 0 deletions convertPheno_client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
window.REACT_APP_SECURITY = "{{VITE_SECURITY}}";
window.REACT_APP_API_URL = "{{VITE_API_URL}}";
window.REACT_APP_KC_CONFIG = "{{VITE_KC_CONFIG}}";
window.REACT_APP_FILEPOND_TIMEOUT = "{{VITE_FILEPOND_TIMEOUT}}";
window.REACT_APP_MATOMO_URL = "{{MATOMO_TAG_MANAGER_URL}}";
</script>
<script type="module" src="/src/main.tsx"></script>
Expand Down
1 change: 0 additions & 1 deletion convertPheno_client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"filepond-plugin-file-validate-type": "^1.2.8",
"keycloak-js": "^23.0.1",
"react": "^18.2.0",
"react-bootstrap": "^2.9.1",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.2.0",
Expand Down
129 changes: 2 additions & 127 deletions convertPheno_client/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions convertPheno_client/replace_env_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ echo $MATOMO_TAG_MANAGER_URL
echo "=== DEBUG: End of check if env variables are set ==="

# Define the placeholders and their corresponding environment variables
PLACEHOLDERS="{{VITE_SECURITY}} {{VITE_API_URL}} {{VITE_KC_CONFIG}} {{MATOMO_TAG_MANAGER_URL}}"
ENV_VARS="VITE_SECURITY VITE_API_URL VITE_KC_CONFIG MATOMO_TAG_MANAGER_URL"
PLACEHOLDERS="{{VITE_SECURITY}} {{VITE_API_URL}} {{VITE_KC_CONFIG}} {{VITE_FILEPOND_TIMEOUT}} {{MATOMO_TAG_MANAGER_URL}}"
ENV_VARS="VITE_SECURITY VITE_API_URL VITE_KC_CONFIG VITE_FILEPOND_TIMEOUT MATOMO_TAG_MANAGER_URL"

# Replace the placeholders with the environment variable values
for placeholder in $PLACEHOLDERS; do
Expand Down
Loading

0 comments on commit d59232f

Please sign in to comment.