mirror of
https://git.mills.io/prologic/zs
synced 2025-04-19 08:51:01 +00:00
Compare commits
No commits in common. "main" and "0.4.4" have entirely different histories.
2 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,6 @@ RUN go mod download
|
||||||
|
|
||||||
# Copy sources
|
# Copy sources
|
||||||
COPY *.go ./
|
COPY *.go ./
|
||||||
COPY default ./default
|
|
||||||
|
|
||||||
# Version/Commit (there there is no .git in Docker build context)
|
# Version/Commit (there there is no .git in Docker build context)
|
||||||
# NOTE: This is fairly low down in the Dockerfile instructions so
|
# NOTE: This is fairly low down in the Dockerfile instructions so
|
||||||
|
|
1
main.go
1
main.go
|
@ -797,6 +797,7 @@ func serve(ctx context.Context, bind, root string) error {
|
||||||
static.WithRoot(root),
|
static.WithRoot(root),
|
||||||
static.WithCGI(true),
|
static.WithCGI(true),
|
||||||
static.WithDir(true),
|
static.WithDir(true),
|
||||||
|
static.WithSPA(true),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Add table
Reference in a new issue