Skip to content

Commit

Permalink
fix: correct default node-server target
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 27, 2023
1 parent cff7bf0 commit 7976318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ const autodetectableStaticProviders: Partial<

export function detectTarget(options: { static?: boolean } = {}) {
return options?.static
? autodetectableStaticProviders[provider] || "node-server"
: autodetectableProviders[provider] || "static";
? autodetectableStaticProviders[provider] || "static"
: autodetectableProviders[provider] || "node-server";
}

export async function isDirectory(path: string) {
Expand Down

0 comments on commit 7976318

Please sign in to comment.