mirror of
https://github.com/containrrr/watchtower.git
synced 2026-01-28 11:46:09 +01:00
Use Vite build tool
This commit is contained in:
parent
57b4862a5b
commit
5645cd23fe
40 changed files with 3513 additions and 2715 deletions
|
|
@ -20,9 +20,9 @@ type Dashboard struct {
|
|||
|
||||
// New is a factory function creating a new Dashboard instance
|
||||
func New() *Dashboard {
|
||||
const webRootDir = "./web/static" // Todo: needs to work in containerized environment
|
||||
const webPort = "8001" // Todo: make configurable?
|
||||
const apiPort = "8080" // Todo: make configurable?
|
||||
const webRootDir = "./web/dist" // Todo: needs to work in containerized environment
|
||||
const webPort = "8001" // Todo: make configurable?
|
||||
const apiPort = "8080" // Todo: make configurable?
|
||||
|
||||
return &Dashboard{
|
||||
apiPort: apiPort,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue