Skip to content

Commit

Permalink
Merge pull request #1433 from rly/patch-1
Browse files Browse the repository at this point in the history
Fix spelling of netlify and insstance
  • Loading branch information
yarikoptic authored May 3, 2024
2 parents 82dd7ea + fb8bd63 commit 260b4d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2141,7 +2141,7 @@
- Fixes [#330](https://github.com/dandi/dandi-cli/pull/330) ([@jwodder](https://github.com/jwodder))
- Rename DANDI_API_KEY to DANDI_GIRDER_API_KEY [#330](https://github.com/dandi/dandi-cli/pull/330) ([@jwodder](https://github.com/jwodder))
- Test of uploading & downloading via new API [#330](https://github.com/dandi/dandi-cli/pull/330) ([@jwodder](https://github.com/jwodder))
- RF+ENH: support mapping for direct API urls, and use netflify insstance instead of api+ prefix [#330](https://github.com/dandi/dandi-cli/pull/330) ([@yarikoptic](https://github.com/yarikoptic))
- RF+ENH: support mapping for direct API urls, and use netlify instance instead of api+ prefix [#330](https://github.com/dandi/dandi-cli/pull/330) ([@yarikoptic](https://github.com/yarikoptic))
- Delint [#330](https://github.com/dandi/dandi-cli/pull/330) ([@jwodder](https://github.com/jwodder))
- RF: account for web UI URL changes/dropped features, remove support for girder URLs [#330](https://github.com/dandi/dandi-cli/pull/330) ([@yarikoptic](https://github.com/yarikoptic))
- Handle uploading already-extant assets [#330](https://github.com/dandi/dandi-cli/pull/330) ([@jwodder](https://github.com/jwodder))
Expand Down
2 changes: 1 addition & 1 deletion dandi/dandiarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ class _dandi_url_parser:
(
re.compile(r"https?://[^/]*dandiarchive-org\.netlify\.app/.*"),
{"map_instance": "dandi"},
"https://*dandiarchive-org.netflify.app/...",
"https://*dandiarchive-org.netlify.app/...",
),
# Direct urls to our new API
(
Expand Down
2 changes: 1 addition & 1 deletion docs/source/ref/urls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ has one, and its draft version will be used otherwise.
`parse_dandi_url()` converts this format to a `DandisetURL`.

- Any ``https://gui.dandiarchive.org/`` or
``https://*dandiarchive-org.netflify.app/`` URL which redirects to
``https://*dandiarchive-org.netlify.app/`` URL which redirects to
one of the other URL formats

- :samp:`https://{server}[/api]/[#/]dandiset/{dandiset-id}[/{version}][/files]`
Expand Down

0 comments on commit 260b4d7

Please sign in to comment.