[full-ci] Bump web to v5.7.0-rc.3 (#4140)

* Bump web to v5.7.0-rc.4

* Switch default value for resharing in capabilities to true

* Fix access token usage in settings ui
This commit is contained in:
Benedikt Kulmann
2022-07-08 19:15:34 +02:00
committed by GitHub
parent 84d9b390a6
commit 981c448395
8 changed files with 36 additions and 10 deletions
@@ -38,7 +38,7 @@ func DefaultConfig() *config.Config {
UploadMaxChunkSize: 1e+8,
UploadHTTPMethodOverride: "",
DefaultUploadProtocol: "tus",
EnableResharing: false,
EnableResharing: true,
Checksums: config.Checksums{
SupportedTypes: []string{"sha1", "md5", "adler32"},
PreferredUploadType: "",
+1 -1
View File
@@ -115,7 +115,7 @@ export default {
function injectAuthToken (rootGetters) {
axios.interceptors.request.use(config => {
if (typeof config.headers.Authorization === 'undefined') {
const token = rootGetters.user.token
const token = rootGetters['runtime/auth/accessToken']
if (token) {
config.headers.Authorization = `Bearer ${token}`
}
+1 -1
View File
@@ -1,6 +1,6 @@
SHELL := bash
NAME := web
WEB_ASSETS_VERSION = v5.7.0-rc.1
WEB_ASSETS_VERSION = v5.7.0-rc.4
include ../../.make/recursion.mk