Skip to content

Commit

Permalink
feat(ur): add results endpoint on router for cu #344
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Jan 22, 2024
1 parent 698c904 commit 43f0cbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions servers/ur/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const { DataItem } = WarpArBundles
function aoComputeUnitMount ({ app, revProxy }) {
app.get('/', revProxy({ processIdFromRequest: (req) => 'process' }))
app.get('/result/:messageTxId', revProxy({ processIdFromRequest: (req) => req.query['process-id'] }))
app.get('/results/:processId', revProxy({ processIdFromRequest: (req) => req.params.processId }))
app.get('/state/:processId', revProxy({ processIdFromRequest: (req) => req.params.processId }))
app.get('/cron/:processId', revProxy({ processIdFromRequest: (req) => req.params.processId }))
}
Expand Down

0 comments on commit 43f0cbc

Please sign in to comment.