Skip to content

Commit

Permalink
fix busted server
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Aug 16, 2023
1 parent 89f0edf commit fe36b8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import morgan from 'morgan'

// @ts-ignore - this file may not exist if you haven't built yet, but it will
// definitely exist by the time the dev or prod server actually runs.
import * as remixBuild from '#app/build/index.js'
import * as remixBuild from '#build/index.js'

installGlobals()

Expand All @@ -34,7 +34,7 @@ const createRequestHandler = wrapExpressCreateRequestHandler(
_createRequestHandler,
)

const BUILD_PATH = '#app/build/index.js'
const BUILD_PATH = '#build/index.js'

const build = remixBuild as unknown as ServerBuild
let devBuild = build
Expand Down

0 comments on commit fe36b8f

Please sign in to comment.