From d7e187d8f29c5771e7885ffab3764f9f1daf56e1 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 12 Apr 2021 10:47:48 +0100 Subject: [PATCH] builder login --- hosting/envoy.dev.yaml.hbs | 2 +- .../src/components/login/LoginForm.svelte | 29 ++++++++++++++++--- .../builder/src/pages/builder/_layout.svelte | 1 - packages/builder/src/stores/backend/auth.js | 20 +++++++++---- packages/worker/src/api/controllers/auth.js | 9 +++++- 5 files changed, 49 insertions(+), 12 deletions(-) diff --git a/hosting/envoy.dev.yaml.hbs b/hosting/envoy.dev.yaml.hbs index 40cfc551ef..a4e2a97118 100644 --- a/hosting/envoy.dev.yaml.hbs +++ b/hosting/envoy.dev.yaml.hbs @@ -26,7 +26,7 @@ static_resources: cluster: redis-service prefix_rewrite: "/" - - match: { prefix: "/api/admin" } + - match: { prefix: "/api/admin/" } route: cluster: worker-dev diff --git a/packages/builder/src/components/login/LoginForm.svelte b/packages/builder/src/components/login/LoginForm.svelte index 216891e35f..5265d2e6d6 100644 --- a/packages/builder/src/components/login/LoginForm.svelte +++ b/packages/builder/src/components/login/LoginForm.svelte @@ -1,15 +1,35 @@ @@ -22,6 +42,7 @@ +