prefixes: Add 'resolver-blocked.txt' config
This commit is contained in:
parent
6f2ba18227
commit
3be5e85ef7
12 changed files with 95 additions and 19 deletions
16
internal/core/bootstrap/resolver-blocked.txt
Normal file
16
internal/core/bootstrap/resolver-blocked.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# This file contains prefixes that should not be picked up by the global resolver.
|
||||
# They will not appear in the list of prefixes.
|
||||
# It should be one prefix per line, '#' and '//' as well as blank lines are treated as comments
|
||||
|
||||
# definitely shouldn't be resolved to any WissKI
|
||||
http://www.w3.org/
|
||||
xsd:
|
||||
urn:
|
||||
|
||||
# generic prefixes by some common adapters.
|
||||
# you may or may not want these.
|
||||
http://d-nb.info/gnd/
|
||||
http://erlangen-crm.org/
|
||||
http://id.gnm.de/ont/
|
||||
http://zotero.org/
|
||||
https://api.zotero.org/
|
||||
|
|
@ -23,6 +23,14 @@ const OverridesJSON = "overrides.json"
|
|||
//go:embed bootstrap/overrides.json
|
||||
var DefaultOverridesJSON []byte
|
||||
|
||||
// ResolverBlockTXT is the name of the resolver blocked prefix file.
|
||||
// It should be located inside the deployment directory.
|
||||
const ResolverBlockedTXT = "resolver-blocked.txt"
|
||||
|
||||
// ResolverBlockTXT contains a template for 'resolver-blocked' file
|
||||
//go:embed bootstrap/resolver-blocked.txt
|
||||
var DefaultResolverBlockedTXT []byte
|
||||
|
||||
// AuthorizedKeys contains the default name for the 'global_authorized_keys' file
|
||||
const AuthorizedKeys = "authorized_keys"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue