mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-01 09:26:29 +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
cli/commands/ppman_commands
|
@ -15,12 +15,12 @@ const msg_format = {
|
|||
|
||||
exports.handler = async function({axios}){
|
||||
|
||||
const packages = await axios.get('/packages');
|
||||
const packages = await axios.get('/api/v1/packages');
|
||||
|
||||
|
||||
|
||||
const pkg_msg = packages.data
|
||||
.map(msg_format.color)
|
||||
.join('\n');
|
||||
|
||||
console.log(pkg_msg);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue