On XDN starter we are getting a 404 accessing main.js after launching. What could cause this? Here is our routes.ts
import { Router } from '@xdn/core/router'
import { CACHE_ASSETS } from './cache'
import shoppingFlowRouteHandler from './shoppingFlowRouteHandler'
import noCacheRouteHandler from './noCacheRouteHandler'
export default new Router()
.match('/service-worker.js', ({ serviceWorker }) => serviceWorker('dist/service-worker.js'))
.match('/admin/:path*', noCacheRouteHandler)
.match('/:path*', shoppingFlowRouteHandler)
.match('/main.js', ({ serveStatic, cache }) => {
cache(CACHE_ASSETS)
return serveStatic('dist/browser.js')
})
.fallback(({ proxy }) => {
return proxy('origin')
})