MCPcopy Create free account
hub / github.com/Illusionna/LocalTransfer / UpdateShareHandler

Function UpdateShareHandler

utils.go:147–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func UpdateShareHandler() {
148 CURRENT_HANDLER = AuthorizeShareFileMiddleware(
149 http.StripPrefix(
150 "/api/share/", http.FileServer(http.Dir(SHARE_DIR)),
151 ),
152 )
153}
154
155
156// 把字节转化成常见的单位.

Callers 2

RegisterRouterFunction · 0.85
SynchronizeSettingsMethod · 0.85

Calls 1

Tested by

no test coverage detected