File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 33 "version" : 2 ,
44 "routes" : [
55 {
6- "src" : " /api/ gist" ,
6+ "src" : " /gist" ,
77 "dest" : " /api/gist.js" ,
88 "headers" : {
99 "Access-Control-Allow-Origin" : " *" ,
1313 {
1414 "src" : " /download" ,
1515 "dest" : " /api/download.js"
16+ },
17+ {
18+ "src" : " /(.*)" ,
19+ "status" : 404
1620 }
1721 ],
1822 "env" : {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const saveSpan = document.querySelector('#save-to-gist-output');
9191document . querySelector ( '#save-to-gist' )
9292 . addEventListener ( 'click' , ( ) => {
9393 saveSpan . textContent = 'Saving...' ;
94- state . then ( ( s ) => fetch ( 'https://api.engine262.js.org/api/ gist' , {
94+ state . then ( ( s ) => fetch ( 'https://api.engine262.js.org/gist' , {
9595 method : 'POST' ,
9696 headers : {
9797 'Content-Type' : 'application/json' ,
You can’t perform that action at this time.
0 commit comments