- fix: consul.json file encoding

This commit is contained in:
2024-12-18 01:05:03 -05:00
parent fd358d3c27
commit 9735b59598
3 changed files with 4 additions and 4 deletions

View File

@@ -108,8 +108,8 @@
command: agent -dev -client=0.0.0.0 command: agent -dev -client=0.0.0.0
ports: ports:
- "8500:8500" - "8500:8500"
# volumes: volumes:
# - ./scripts/consul.json:/consul/config/cors.json:ro - ./scripts/consul.json:/consul/config/cors.json
volumes: volumes:
db_data: db_data:

View File

@@ -23,7 +23,7 @@ fn create_command() -> Command {
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
fn create_command() -> Command { fn create_command() -> Command {
let mut command = Command::new("bottles-cli"); let mut command = Command::new("bottles-cli");
command.arg("run").arg("-p").arg("TRose").arg("-b").arg("OsIRose v3").arg("--"); command.arg("run").arg("-p").arg("TRose").arg("-b").arg("OsIRose");
command command
} }

2
scripts/consul.json Normal file → Executable file
View File

@@ -1,4 +1,4 @@
{ {
"http_config": { "http_config": {
"response_headers": { "response_headers": {
"Access-Control-Allow-Origin": "*" "Access-Control-Allow-Origin": "*"