Skip to content

Commit

Permalink
prevent 404 when trying to use RO-Crate previewer
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Feb 24, 2025
1 parent d1dac14 commit 236781c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 5.2curlcommands.md
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin
"toolName":"rocratePreviewer",
"scope":"file",
"types":["preview"],
"toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ROCratePreview.html",
"toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ROCrate.html",
"toolParameters": {
"queryParameters":[
{"fileid":"{fileId}"},
Expand All @@ -853,4 +853,4 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin
```

## Beta Versions:
As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.4). When previewers in the betatest branch are included in the next release (e.g. v1.5), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes.
As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.4). When previewers in the betatest branch are included in the next release (e.g. v1.5), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes.
2 changes: 1 addition & 1 deletion 6.1curlcommands.md
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin
"toolName":"rocratePreviewer",
"scope":"file",
"types":["preview"],
"toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ROCratePreview.html",
"toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ROCrate.html",
"toolParameters": {
"queryParameters":[
{"fileid":"{fileId}"},
Expand Down

0 comments on commit 236781c

Please sign in to comment.