mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 15:32:25 -05:00
[frontend] change bundler to skulk (#942)
* replace web bundler with skulk * upgrade skulk * add license
This commit is contained in:
parent
f81f1e7d0f
commit
c4c713988a
13 changed files with 897 additions and 2161 deletions
|
|
@ -22,6 +22,7 @@ import (
|
|||
"context"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/config"
|
||||
|
|
@ -44,6 +45,12 @@ func NewTestRouter(db db.DB) router.Router {
|
|||
config.SetBindAddress(alternativeBindAddress)
|
||||
}
|
||||
|
||||
if alternativePortStr := os.Getenv("GTS_PORT"); alternativePortStr != "" {
|
||||
if alternativePort, err := strconv.Atoi(alternativePortStr); err == nil {
|
||||
config.SetPort(alternativePort)
|
||||
}
|
||||
}
|
||||
|
||||
r, err := router.New(context.Background(), db)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue