commit adf40291e886b46f6241de5eb464057eac610ad3
parent acfc900997794cbaf9988d107a5fd062e2c6821e
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Tue, 16 Oct 2018 16:18:04 +0200
Update web vault to 2.4.0
Diffstat:
5 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -4,7 +4,7 @@
####################### VAULT BUILD IMAGE #######################
FROM node:8-alpine as vault
-ENV VAULT_VERSION "v2.3.0"
+ENV VAULT_VERSION "v2.4.0"
ENV URL "https://github.com/bitwarden/web.git"
diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64
@@ -4,7 +4,7 @@
####################### VAULT BUILD IMAGE #######################
FROM node:8-alpine as vault
-ENV VAULT_VERSION "v2.3.0"
+ENV VAULT_VERSION "v2.4.0"
ENV URL "https://github.com/bitwarden/web.git"
diff --git a/Dockerfile.alpine b/Dockerfile.alpine
@@ -4,7 +4,7 @@
####################### VAULT BUILD IMAGE #######################
FROM node:8-alpine as vault
-ENV VAULT_VERSION "v2.3.0"
+ENV VAULT_VERSION "v2.4.0"
ENV URL "https://github.com/bitwarden/web.git"
diff --git a/Dockerfile.armv7 b/Dockerfile.armv7
@@ -4,7 +4,7 @@
####################### VAULT BUILD IMAGE #######################
FROM node:8-alpine as vault
-ENV VAULT_VERSION "v2.3.0"
+ENV VAULT_VERSION "v2.4.0"
ENV URL "https://github.com/bitwarden/web.git"
diff --git a/docker/set-vault-baseurl.patch b/docker/set-vault-baseurl.patch
@@ -1,6 +1,6 @@
--- a/src/app/services/services.module.ts
+++ b/src/app/services/services.module.ts
-@@ -120,20 +120,17 @@ const notificationsService = new NotificationsService(userService, syncService,
+@@ -120,20 +120,16 @@ const notificationsService = new NotificationsService(userService, syncService,
const environmentService = new EnvironmentService(apiService, storageService, notificationsService);
const auditService = new AuditService(cryptoFunctionService, apiService);
@@ -22,7 +22,6 @@
+ const isDev = false;
+ environmentService.baseUrl = window.location.origin;
+ environmentService.notificationsUrl = window.location.origin + '/notifications';
-+
- await apiService.setUrls({
+ apiService.setUrls({
base: isDev ? null : window.location.origin,
api: isDev ? 'http://localhost:4000' : null,