Skip to content

Commit

Permalink
Merge pull request #36 from ninedraft/omit-remote-addr
Browse files Browse the repository at this point in the history
  • Loading branch information
ninedraft authored Nov 9, 2022
2 parents 171812a + 949f4d0 commit d44fd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gemax/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var _ Handler = new(FileSystem).Serve

// Serve provided file system as gemini catalogs.
func (fileSystem *FileSystem) Serve(ctx context.Context, rw ResponseWriter, req IncomingRequest) {
fileSystem.logf("INFO: %s is requested from %s", req.URL(), req.RemoteAddr())
fileSystem.logf("INFO: %s is requested", req.URL())

var p = path.Join(fileSystem.Prefix, req.URL().Path)
p = strings.TrimPrefix(p, "/")
Expand Down

0 comments on commit d44fd05

Please sign in to comment.