From ccf9b038f7d9f0da5f9396536ec31129d06d3f2a Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Thu, 25 Feb 2021 07:03:16 -0600 Subject: [PATCH] Install chromedriver --- .github/workflows/ci.yml | 4 ++-- apps/fg_http/lib/fg_http_web/controllers/device_controller.ex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f827c8a0c..c7dbb2735 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,8 +31,8 @@ jobs: - name: Install package dependencies run: sudo apt-get install net-tools wireguard unzip - uses: actions/checkout@v2 - - name: Install Chrome and ChromeDriver - run: .ci/install_chrome.sh + - name: Install ChromeDriver + run: .ci/install_chromedriver.sh - name: Install Runtimes run: .ci/install_runtimes.sh - name: Install Dependencies diff --git a/apps/fg_http/lib/fg_http_web/controllers/device_controller.ex b/apps/fg_http/lib/fg_http_web/controllers/device_controller.ex index a7ea739e4..48cf3d5e4 100644 --- a/apps/fg_http/lib/fg_http_web/controllers/device_controller.ex +++ b/apps/fg_http/lib/fg_http_web/controllers/device_controller.ex @@ -20,7 +20,7 @@ defmodule FgHttpWeb.DeviceController do end def create(conn, %{"device" => %{"public_key" => _public_key} = device_params}) do - # XXX: Get device name from browser + # XXX: Guess device name from browser our_params = %{ "user_id" => conn.assigns.session.id, "ifname" => "wg0",