Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function handleApplication(scope: Scope) {

// If the file is not found, try matching index
if (!staticFile) {
const index = scope.options.get(['index']) ?? false;
const index = scope.options.get(['index']) ?? true;

if (typeof index !== 'boolean') {
throw new Error(`Invalid index option: ${index}. Must be a boolean.`);
Expand Down
Loading