File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1374,7 +1374,7 @@ func registerRoutes(m *web.Route) {
13741374 })
13751375 m .Post ("/cancel" , reqRepoActionsWriter , actions .Cancel )
13761376 m .Post ("/approve" , reqRepoActionsWriter , actions .Approve )
1377- m .Post ("/artifacts" , actions .ArtifactsView )
1377+ m .Get ("/artifacts" , actions .ArtifactsView )
13781378 m .Get ("/artifacts/{artifact_name}" , actions .ArtifactsDownloadView )
13791379 m .Delete ("/artifacts/{artifact_name}" , actions .ArtifactsDeleteView )
13801380 m .Post ("/rerun" , reqRepoActionsWriter , actions .Rerun )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import {createApp} from 'vue';
55import {toggleElem } from ' ../utils/dom.js' ;
66import {formatDatetime } from ' ../utils/time.js' ;
77import {renderAnsi } from ' ../render/ansi.js' ;
8- import {POST , DELETE } from ' ../modules/fetch.js' ;
8+ import {GET , POST , DELETE } from ' ../modules/fetch.js' ;
99
1010const sfc = {
1111 name: ' RepoActionView' ,
@@ -196,7 +196,7 @@ const sfc = {
196196 },
197197
198198 async fetchArtifacts () {
199- const resp = await POST (` ${ this .actionsURL } /runs/${ this .runIndex } /artifacts` );
199+ const resp = await GET (` ${ this .actionsURL } /runs/${ this .runIndex } /artifacts` );
200200 return await resp .json ();
201201 },
202202
You can’t perform that action at this time.
0 commit comments