Skip to content

Commit

Permalink
fix: update default values
Browse files Browse the repository at this point in the history
  • Loading branch information
acouvreur committed Oct 21, 2024
1 parent 3cc0550 commit 37ab6ed
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
Binary file modified editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 17 additions & 3 deletions webui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
if (typeof value == "string") {
input_editor.session.setValue(value);
} else {
loadFromGithub("shuffle")
loadFromGithub("hacker-terminal")
}

var data_editor = ace.edit("data-editor");
Expand All @@ -112,14 +112,28 @@
data_editor.session.setValue(value);
} else {
data_editor.session.setValue(JSON.stringify({
"DisplayName": "Test",
"DisplayName": "my sablier session",
"InstanceStates": [
{
"Name": "starting-instance",
"Name": "nginx",
"Status": "instance is ready",
"Error": null,
"CurrentReplicas": 1,
"DesiredReplicas": 1
},
{
"Name": "vscode",
"Status": "instance is starting...",
"Error": null,
"CurrentReplicas": 0,
"DesiredReplicas": 1
},
{
"Name": "mongodb",
"Status": "error",
"Error": "container mongodb is unhealthy",
"CurrentReplicas": 0,
"DesiredReplicas": 1
}
],
"ShowDetails": true,
Expand Down

0 comments on commit 37ab6ed

Please sign in to comment.