File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ export function VueFireAppCheckServer(
38
38
39
39
// FIXME: do we need to avoid creating the appcheck instance on the server?
40
40
if ( AppCheckMap . has ( firebaseApp ) ) {
41
- logger . info ( 'AppCheck already initialized, skipping server initialization.' )
41
+ logger . debug (
42
+ 'AppCheck already initialized, skipping server initialization.'
43
+ )
42
44
return
43
45
}
44
46
@@ -50,7 +52,7 @@ export function VueFireAppCheckServer(
50
52
getToken : ( ) => {
51
53
// FIXME: without this there is an infinite loop
52
54
if ( currentToken ) {
53
- logger . info ( 'Using cached AppCheck token on server.' )
55
+ logger . debug ( 'Using cached AppCheck token on server.' )
54
56
return Promise . resolve ( currentToken )
55
57
}
56
58
logger . debug ( 'Getting Admin AppCheck' )
@@ -61,7 +63,7 @@ export function VueFireAppCheckServer(
61
63
return adminAppCheck
62
64
. createToken ( firebaseApp . options . appId ! , { ttlMillis } )
63
65
. then ( ( { token, ttlMillis : expireTimeMillis } ) => {
64
- logger . info (
66
+ logger . debug (
65
67
`Got AppCheck token from the server, expires in ${ expireTimeMillis } ms.`
66
68
)
67
69
// expire the token after the ttl
You can’t perform that action at this time.
0 commit comments