Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Reorganization of directory (Fix #30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pegasus8 committed Oct 21, 2019
1 parent bc68005 commit 5f4a870
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions webui/server.go → webui/backend/server.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package webui
package backend

import (
"encoding/json"
Expand All @@ -9,8 +9,8 @@ import (
"io/ioutil"

"github.com/Pegasus8/piworker/processment/stats"
"github.com/Pegasus8/piworker/webui/auth"
"github.com/Pegasus8/piworker/webui/websocket"
"github.com/Pegasus8/piworker/webui/backend/auth"
"github.com/Pegasus8/piworker/webui/backend/websocket"
"github.com/Pegasus8/piworker/processment/data"
"github.com/Pegasus8/piworker/processment/configs"
triggersList"github.com/Pegasus8/piworker/processment/elements/triggers/models"
Expand All @@ -37,7 +37,7 @@ type postResponse struct {
func setupRoutes() {
defer auth.Database.Close()

box := packr.New("WebUI", "./frontend/dist")
box := packr.New("WebUI", "../frontend/dist")

router := mux.NewRouter()

Expand Down
File renamed without changes.

0 comments on commit 5f4a870

Please sign in to comment.