Discover Packages
github.mirror.nvdadr.com/umputun/remark42
backend
app
rest
proxy
package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jan 6, 2019
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type Image (p) Convert(commentHTML) (p) Routes()
Documentation
¶
type Image struct {
RoutePath string
Enabled bool
}
Image extracts image src from comment's html and provides proxy for them
this is needed to keep remark42 running behind of HTTPS serve all images via https
Convert all img src links without https to proxied links
Routes returns router group to respond to proxied request
Source Files
¶
Click to show internal directories.
Click to hide internal directories.