This website works better with JavaScript.
Home
Explore
Help
Sign In
writeas
/
go-nodeinfo
mirror of
https://github.com/writeas/go-nodeinfo.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
1
Wiki
Activity
Browse Source
Include BaseURL in nodeinfo discover href
master
Matt Baer
6 years ago
parent
30edac725b
commit
78f48007e6
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
nodeinfo.go
+1
-1
service.go
+ 1
- 0
nodeinfo.go
View File
@@ -16,6 +16,7 @@ const (
)
type Config struct {
BaseURL string
InfoURL string
Metadata Metadata
Protocols []NodeProtocol
+ 1
- 1
service.go
View File
@@ -14,7 +14,7 @@ type Service struct {
func NewService(cfg Config, r Resolver) *Service {
return &Service{
InfoURL: cfg.InfoURL,
InfoURL: cfg.
BaseURL + cfg.
InfoURL,
Info: NodeInfo{
Metadata: cfg.Metadata,
Protocols: cfg.Protocols,
Write
Preview
Loading…
Cancel
Save