Skip to content

Commit

Permalink
Fix gradio.js aws path (#9397)
Browse files Browse the repository at this point in the history
* fix folder path for beta

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
aliabd and gradio-pr-bot authored Sep 19, 2024
1 parent 736046f commit 4be0933
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/some-clocks-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"website": minor
---

feat:Fix gradio.js aws path
2 changes: 1 addition & 1 deletion js/_website/src/lib/components/VersionDropdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
type="module"
src="https://gradio.s3-us-west-2.amazonaws.com/{value === 'main'
? version.replace('b', '-beta.')
: value}/gradio.js"
: value.replace('b', '-beta.')}/gradio.js"
></script>
</svelte:head>

Expand Down

0 comments on commit 4be0933

Please sign in to comment.