mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
change urls, fix docker compose file
This commit is contained in:
parent
e975b64f2d
commit
b3575246bd
8 changed files with 29 additions and 257 deletions
|
@ -14,10 +14,10 @@ const msg_format = {
|
|||
|
||||
exports.handler = async function({axios, language, languageVersion}){
|
||||
try{
|
||||
const install = await axios.post(`/packages/${language}/${languageVersion}`)
|
||||
|
||||
const install = await axios.post(`/api/v1/packages/${language}/${languageVersion}`)
|
||||
|
||||
console.log(msg_format.color(install.data));
|
||||
}catch({response}){
|
||||
console.error(response.data.message)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue