Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michał "rysiek" Woźniak
samizdat
Commits
c798baa1
Commit
c798baa1
authored
Oct 05, 2020
by
Michał "rysiek" Woźniak
🔒
Browse files
WIP
#71
: listing all relevant components in config.js
parent
c761ed80
Pipeline
#47107
failed with stage
in 65 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
config.js
View file @
c798baa1
...
...
@@ -11,7 +11,7 @@
self
.
SamizdatConfig
.
plugins
=
{
'
fetch
'
:{},
'
cache
'
:{},
/*
'any-of': {
'
any-of
'
:
{
plugins
:
{
'
alt-fetch
'
:{
// configuring the alternate endpoints plugin to use IPNS gateways
...
...
@@ -25,13 +25,13 @@ self.SamizdatConfig.plugins = {
'
https://gateway.temporal.cloud/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/
'
,
// Germany
'
https://ipfs.best-practice.se/ipns/QmYGVgGGfD5N4Xcc78CcMJ99dKcH6K6myhd4Uenv5yJwiJ/
'
// Sweden
]
},
*/
},
'
gun-ipfs
'
:
{
gunPubkey
:
'
WUK5ylwqqgUorceQRa84qfbBFhk7eNRDUoPbGK05SyE.-yohFhTzWPpDT-UDMuKGgemOUrw_cMMYWpy6plILqrg
'
}
//
}
//
}
}
}
}
//
debugging self.log()
self
.
SamizdatConfig
.
loggedComponents
=
[
'
gun-ipfs
'
]
//
we need to explicitly list components we want to see debug messages from
self
.
SamizdatConfig
.
loggedComponents
=
[
'
service-worker
'
,
'
fetch
'
,
'
cache
'
,
'
any-of
'
,
'
alt-fetch
'
,
'
gun-ipfs
'
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment