Skip to content

Commit 100011d

Browse files
authored
ci: fix beta banner (#5295)
1 parent 37a4e73 commit 100011d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.storybook/components/DocsContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const DocsContainer = ({ children, context }: DocsContainerProps) => {
4949

5050
if (
5151
import.meta.env['STORYBOOK_ENVIRONMENT'] === 'production' &&
52-
!window.location.hostname.includes('beta.storybook.ultraviolet.scaleway.com')
52+
window.location.hostname === 'storybook.ultraviolet.scaleway.com'
5353
) {
5454
fetch('https://api.github.com/repos/scaleway/ultraviolet/branches/beta')
5555
.then((data) => {

0 commit comments

Comments
 (0)