From 9735b59598a25cdcc53ddee47c52017f62b774980aa684bfb40c6515ac74eec4 Mon Sep 17 00:00:00 2001 From: raven <7156279+RavenX8@users.noreply.github.com> Date: Wed, 18 Dec 2024 01:05:03 -0500 Subject: [PATCH] - fix: consul.json file encoding --- docker-compose.yml | 4 ++-- launcher/src/launcher.rs | 2 +- scripts/consul.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 scripts/consul.json diff --git a/docker-compose.yml b/docker-compose.yml index 56f1945..969a24c 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -108,8 +108,8 @@ command: agent -dev -client=0.0.0.0 ports: - "8500:8500" -# volumes: -# - ./scripts/consul.json:/consul/config/cors.json:ro + volumes: + - ./scripts/consul.json:/consul/config/cors.json volumes: db_data: \ No newline at end of file diff --git a/launcher/src/launcher.rs b/launcher/src/launcher.rs index 4c23862..13e864f 100644 --- a/launcher/src/launcher.rs +++ b/launcher/src/launcher.rs @@ -23,7 +23,7 @@ fn create_command() -> Command { #[cfg(target_os = "linux")] fn create_command() -> Command { 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 } diff --git a/scripts/consul.json b/scripts/consul.json old mode 100644 new mode 100755 index 69d659e..c36b4d0 --- a/scripts/consul.json +++ b/scripts/consul.json @@ -1,4 +1,4 @@ -{ +{ "http_config": { "response_headers": { "Access-Control-Allow-Origin": "*"