From 74309d348da99f70262262d386f67cbfd81bca02 Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Tue, 12 Jan 2021 20:37:41 -0800 Subject: [PATCH] update runtimes --- .github/workflows/ci.yml | 6 +++--- .tool-versions | 4 ++-- .../fg_http_web/live/new_device_live.html.leex | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d47c647ef..997f1132b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - name: Install Runtimes run: | wget -O erlang.deb https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_23.2-1~ubuntu~focal_amd64.deb - wget -O elixir.deb https://packages.erlang-solutions.com/erlang/debian/pool/elixir_1.11.2-1~ubuntu~focal_all.deb + wget -O elixir.deb https://packages.erlang-solutions.com/erlang/debian/pool/elixir_1.11.3-1~ubuntu~focal_all.deb sudo dpkg -i erlang.deb sudo dpkg -i elixir.deb - name: Install Dependencies @@ -53,10 +53,10 @@ jobs: - uses: actions/checkout@v2 - name: Install runtimes run: | - curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - + curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - sudo apt install nodejs wget -O erlang.deb https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_23.1-1~ubuntu~focal_amd64.deb - wget -O elixir.deb https://packages.erlang-solutions.com/erlang/debian/pool/elixir_1.11.2-1~ubuntu~focal_all.deb + wget -O elixir.deb https://packages.erlang-solutions.com/erlang/debian/pool/elixir_1.11.3-1~ubuntu~focal_all.deb sudo dpkg -i erlang.deb sudo dpkg -i elixir.deb - name: Build release diff --git a/.tool-versions b/.tool-versions index d14521f21..8bb24cb59 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,4 +1,4 @@ -elixir 1.11.2-otp-23 +elixir 1.11.3-otp-23 erlang 23.2.1 -nodejs 10.23.0 +nodejs 14.15.4 python 3.7.9 diff --git a/apps/fg_http/lib/fg_http_web/live/new_device_live.html.leex b/apps/fg_http/lib/fg_http_web/live/new_device_live.html.leex index 2bad7fa08..c0c0d877f 100644 --- a/apps/fg_http/lib/fg_http_web/live/new_device_live.html.leex +++ b/apps/fg_http/lib/fg_http_web/live/new_device_live.html.leex @@ -17,13 +17,13 @@
   
-  [Interface]
-  PrivateKey = <%= @device.private_key %>
+[Interface]
+PrivateKey = <%= @device.private_key %>
 
-  [Peer]
-  PublicKey = <%= @device.server_pubkey %>
-  AllowedIPs = 0.0.0.0/0, ::/0
-  Endpoint = <%= Application.fetch_env!(:fg_http, :vpn_endpoint) %>
+[Peer]
+PublicKey = <%= @device.server_pubkey %>
+AllowedIPs = 0.0.0.0/0, ::/0
+Endpoint = <%= Application.fetch_env!(:fg_http, :vpn_endpoint) %>
   
   
@@ -39,7 +39,7 @@
-

Device added!

+

Device Added!

Device Public Key:
@@ -51,7 +51,7 @@
<%= - link("Cancel and Go Back to Devices", to: Routes.device_path(@socket, :index)) + link("Go Back to Devices", to: Routes.device_path(@socket, :index)) %>