diff options
Diffstat (limited to 'web/web_test.go')
| -rw-r--r-- | web/web_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web_test.go b/web/web_test.go index a40e073..f900d07 100644 --- a/web/web_test.go +++ b/web/web_test.go @@ -632,7 +632,7 @@ func TestImageProxyHandlerInvalidBase64(t *testing.T) { func TestServeFrontendNotFound(t *testing.T) { req := httptest.NewRequest("GET", "/not-actually-a-file", nil) rr := httptest.NewRecorder() - ServeFrontend("dist/v2")(rr, req) + ServeFrontend("dist/v3")(rr, req) // Should fallback to index.html if it's not a dot-extension file if rr.Code != http.StatusOK { t.Errorf("Expected %d (fallback to index.html), got %d", http.StatusOK, rr.Code) |
