mirror of
https://git.mills.io/prologic/zs.git
synced 2026-01-01 23:15:31 -05:00
Fix serving non-existent pages by disabling SPA mode
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user