Skip to content

Commit 51bdaa2

Browse files
committed
Stories did not have subdomains on
1 parent 6a22181 commit 51bdaa2

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

site/src/components/Resources/AgentRow.stories.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { Story } from "@storybook/react"
22
import {
3-
MockPrimaryRegion,
4-
MockRegions,
53
MockWorkspace,
64
MockWorkspaceAgent,
75
MockWorkspaceAgentConnecting,
@@ -42,7 +40,7 @@ export default {
4240
const Template: Story<AgentRowProps> = (args) => (
4341
<ProxyContext.Provider
4442
value={{
45-
proxy: getURLs(MockRegions, MockPrimaryRegion),
43+
proxy: getURLs([], undefined),
4644
isLoading: false,
4745
setProxy: () => {
4846
return

site/src/components/Workspace/Workspace.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
const Template: Story<WorkspaceProps> = (args) => (
2727
<ProxyContext.Provider
2828
value={{
29-
proxy: getURLs(Mocks.MockRegions, Mocks.MockPrimaryRegion),
29+
proxy: getURLs([], undefined),
3030
isLoading: false,
3131
setProxy: () => {
3232
return

site/src/contexts/ProxyContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface PreferredProxy {
2828
preferredPathAppURL: string
2929
// PreferredWildcardHostname is a hostname that includes a wildcard.
3030
preferredWildcardHostname: string
31-
}
31+
}0
3232

3333
export const ProxyContext = createContext<ProxyContextValue | undefined>(
3434
undefined,

0 commit comments

Comments
 (0)