Skip to content

Commit

Permalink
fix: resolve server assets dir relative to srcDir (#893)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Jan 30, 2023
1 parent 53d37db commit 762ee47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function createNitro(config: NitroConfig = {}): Promise<Nitro> {
// Server assets
nitro.options.serverAssets.push({
baseName: "server",
dir: "assets",
dir: resolve(nitro.options.srcDir, "assets"),
});

// Plugins
Expand Down

0 comments on commit 762ee47

Please sign in to comment.