Skip to content

Commit 69ece8f

Browse files
julianknutsenclaude
andcommitted
fix: restore /skill route as marketplace redirect, bump Docker Go to 1.26
- Re-add /skill route that redirects to marketplace SKILL.md - Update navbar skill link to point to SKILL.md instead of repo root - Bump Dockerfile from golang:1.24 to golang:1.26 to match go.mod Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0a5a13d commit 69ece8f

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG VITE_ENVIRONMENT
99
RUN bun run build
1010

1111
# Stage 2: Build Go binary
12-
FROM golang:1.24 AS backend
12+
FROM golang:1.26 AS backend
1313
WORKDIR /app
1414
COPY go.mod go.sum ./
1515
RUN go mod download

web/src/App.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as Sentry from "@sentry/react";
2+
import { useEffect } from "react";
23
import { BrowserRouter, Route, Routes } from "react-router-dom";
34
import { BrowseList } from "./components/BrowseList";
45
import { ConnectPage } from "./components/ConnectPage";
@@ -11,6 +12,16 @@ import { Scoreboard } from "./components/Scoreboard";
1112
import { Settings } from "./components/Settings";
1213
import { WastelandProvider } from "./context/WastelandContext";
1314

15+
const MARKETPLACE_URL =
16+
"https://github.com/gastownhall/marketplace/blob/main/plugins/wasteland/skills/wasteland/SKILL.md";
17+
18+
function SkillRedirect() {
19+
useEffect(() => {
20+
window.location.replace(MARKETPLACE_URL);
21+
}, []);
22+
return null;
23+
}
24+
1425
export function App() {
1526
return (
1627
<Sentry.ErrorBoundary fallback={<p>Something went wrong.</p>}>
@@ -27,6 +38,7 @@ export function App() {
2738
<Route path="/settings" element={<Settings />} />
2839
<Route path="/connect" element={<ConnectPage />} />
2940
<Route path="/join" element={<ConnectPage />} />
41+
<Route path="/skill" element={<SkillRedirect />} />
3042
</Route>
3143
</Routes>
3244
</BrowserRouter>

web/src/components/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function Layout() {
163163
</NavLink>
164164
)}
165165
<a
166-
href="https://github.com/gastownhall/marketplace"
166+
href="https://github.com/gastownhall/marketplace/blob/main/plugins/wasteland/skills/wasteland/SKILL.md"
167167
target="_blank"
168168
rel="noopener noreferrer"
169169
className={styles.navLink}

0 commit comments

Comments
 (0)