repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
44c4fb4
parent
2323c33
author
Eric Bower
date
2024-02-08 05:04:27 +0000 UTC
fix(prose): allow `_styles.css` to be uploaded again

Closes #74
1 files changed,  +1, -0
M prose/ssh.go
+1, -0
1@@ -86,6 +86,7 @@ func StartSshServer() {
2 
3 	fileMap := map[string]filehandlers.ReadWriteHandler{
4 		".md":      filehandlers.NewScpPostHandler(dbh, cfg, hooks, st),
5+		".css":     filehandlers.NewScpPostHandler(dbh, cfg, hooks, st),
6 		"fallback": uploadimgs.NewUploadImgHandler(dbh, cfg, st),
7 	}
8 	handler := filehandlers.NewFileHandlerRouter(cfg, dbh, fileMap)