mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
refactor: move gateway and vault components to new locations
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/onsonr/sonr/app/gateway/context"
|
||||
)
|
||||
|
||||
func IndexHandler(c echo.Context) error {
|
||||
id := context.GetSessionID(c)
|
||||
if id == "" {
|
||||
context.NewSession(c)
|
||||
}
|
||||
return context.RenderInitial(c)
|
||||
}
|
||||
Reference in New Issue
Block a user