mirror of
https://git.mills.io/prologic/zs
synced 2025-02-06 15:19:22 +03:00
Fix serving non-existent pages by disabling SPA mode
This commit is contained in:
parent
6690094cf4
commit
bd3a7bdf89
1
main.go
1
main.go
@ -797,7 +797,6 @@ 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…
x
Reference in New Issue
Block a user