repos / pico

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

commit
f767ab9
parent
1a63f59
author
Eric Bower
date
2024-03-11 18:52:57 +0000 UTC
chore: rename plus folder to ui
2 files changed,  +3, -3
M pgs/tunnel.go
+2, -2
 1@@ -6,8 +6,8 @@ import (
 2 
 3 	"github.com/charmbracelet/ssh"
 4 	"github.com/picosh/pico/db"
 5-	"github.com/picosh/pico/plus"
 6 	"github.com/picosh/pico/shared"
 7+	"github.com/picosh/pico/ui"
 8 )
 9 
10 func allowPerm(proj *db.Project) bool {
11@@ -87,7 +87,7 @@ func createHttpHandler(httpCtx *shared.HttpCtx) CtxHttpBridge {
12 		}
13 
14 		if subdomain == "pico-ui" || subdomain == "erock-ui" {
15-			rts := plus.CreateRoutes(httpCtx, ctx)
16+			rts := ui.CreateRoutes(httpCtx, ctx)
17 			routes = append(routes, rts...)
18 		}
19 
R plus/routes.go => ui/api.go
+1, -1
1@@ -1,4 +1,4 @@
2-package plus
3+package ui
4 
5 import (
6 	"encoding/json"