Skip to content

Commit

Permalink
fix: path
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 13, 2024
1 parent 1c2fcf7 commit f0d0435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default class Server {
/** @type {(path: string) => Promise<{ head?: string; html?: string }>} */
let render
if (this.envIsProduction) {
render = (await import("./dist/server/entry-server.js")).render
render = (await import("../../../dist/server/entry-server.js")).render

// Use cached template.
template = this.templateHtml
Expand Down

0 comments on commit f0d0435

Please sign in to comment.