Skip to content

Commit 74651c2

Browse files
committed
fix: url
1 parent bc5f656 commit 74651c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/dashboard/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class SidequestDashboard {
9696
});
9797
});
9898

99-
app.get("/job/:id", async (req, res) => {
99+
app.get("/jobs/:id", async (req, res) => {
100100
const backend = Engine.getBackend();
101101

102102
const jobId = parseInt(req.params.id);

packages/dashboard/src/views/pages/jobs.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<tbody>
6868
<% jobs.forEach(job => { %>
6969
<tr class="hover:bg-base-300">
70-
<td class="px-4 py-3 text-base-content"><a href="/job/<%= job.id %>"><%= job.id %></a></td>
70+
<td class="px-4 py-3 text-base-content"><a href="/jobs/<%= job.id %>"><%= job.id %></a></td>
7171
<td class="px-4 py-3 text-base-content"><%= job.class %></td>
7272
<td class="px-4 py-3"><%= job.queue %></td>
7373
<td class="px-4 py-3">

0 commit comments

Comments
 (0)