Skip to content

Commit

Permalink
Merge pull request #90 from Shopify/fd-fix-asset-path
Browse files Browse the repository at this point in the history
Fix asset path in production
  • Loading branch information
frandiox authored Oct 19, 2022
2 parents 79b1a7c + 0338972 commit c8b2165
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion remix.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @type {import('@remix-run/dev').AppConfig} */

module.exports = {
publicPath: (process.env.HYDROGEN_ASSET_BASE_URL || '') + '/build/',
publicPath: (process.env.HYDROGEN_ASSET_BASE_URL || '/') + 'build/',
serverModuleFormat: 'esm',
serverBuildTarget: 'cloudflare-workers',
serverBuildPath: 'build/server/index.js',
Expand Down

0 comments on commit c8b2165

Please sign in to comment.