Open
Description
Reproduction
Repro: https://github.com/gerbyzation/repro-remix-cloudflare-pages-assets-ignore-basename
pnpm install
pnpm build
pnpm start
- visit
http://localhost:8788/my-basename
. The static files will 404
System Info
System:
OS: macOS 14.6
CPU: (10) arm64 Apple M1 Pro
Memory: 79.22 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.17.0 - ~/.local/share/mise/installs/node/20.17/bin/node
npm: 10.8.2 - ~/.local/share/mise/installs/node/20.17/bin/npm
pnpm: 8.15.9 - ~/.local/share/mise/installs/pnpm/8/bin/pnpm
Browsers:
Chrome: 129.0.6668.58
Safari: 17.6
npmPackages:
@remix-run/dev: ^2.12.0 => 2.12.0
@remix-run/node: ^2.12.0 => 2.12.0
@remix-run/react: ^2.12.0 => 2.12.0
@remix-run/serve: ^2.12.0 => 2.12.0
vite: ^5.1.0 => 5.4.6 ```
Used Package Manager
pnpm
Expected Behavior
Static files to be served on the specified base(name)
Actual Behavior
Static files 404