Skip to content

Commit 5b6de69

Browse files
authored
Merge pull request #10 from sourcemeta-research/feature/default-public-registry
Default to Sourcemeta's public registry, use plain hyphen in page title
2 parents 2980f7c + e14e6af commit 5b6de69

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
href="https://fonts.googleapis.com/css2?family=Inter:wght@400..700&family=JetBrains+Mono:wght@400;500&display=swap"
1111
rel="stylesheet"
1212
/>
13-
<title>one-ui — Sourcemeta One Playground</title>
13+
<title>one-ui - Sourcemeta One Playground</title>
1414
</head>
1515
<body>
1616
<div id="root"></div>

‎src/contexts/AppProvider.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ import type {
2323
} from "../types/one";
2424

2525
const SESSION_REGISTRY_KEY = "one-ui.registryUrl";
26-
const DEFAULT_REGISTRY_URL = "http://localhost:8000";
26+
// Sourcemeta's own public instance — works out of the box with zero setup,
27+
// instead of pointing at a localhost registry that likely isn't running.
28+
const DEFAULT_REGISTRY_URL = "https://schemas.sourcemeta.com";
2729

2830
export const AppProvider = ({ children }: { children: ReactNode }) => {
2931
const [registryUrl, setRegistryUrlState] = useState(

0 commit comments

Comments
 (0)