-
Describe the bugcheckout this repo: https://github.com/dotku/deepseek-solutions My page of dotku.us/deepseek-solutions/ is always 404, looking for help. Reproductionhttps://github.com/dotku/deepseek-solutions Steps to reproduceNo response System InfoSystem:
OS: macOS 14.6.1
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Memory: 20.38 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.7.0 - ~/.nvm/versions/node/v22.7.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.7.0/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v22.7.0/bin/npm
pnpm: 9.9.0 - ~/.nvm/versions/node/v22.7.0/bin/pnpm
bun: 1.1.26 - ~/.nvm/versions/node/v22.7.0/bin/bun
Browsers:
Chrome: 133.0.6943.142
Safari: 17.6
npmPackages:
@vitejs/plugin-react: ^4.3.1 => 4.3.4
vite: ^5.4.2 => 5.4.14 Used Package Managernpm Logsvite:config bundled config file loaded in 64.20ms +0ms Validations
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You likely need to set I'd suggest asking on react-router community for further react router specific issues https://github.com/remix-run/react-router/discussions |
Beta Was this translation helpful? Give feedback.
You likely need to set
basename
https://reactrouter.com/6.30.0/routers/create-browser-router#optsbasename when deploying react router app under sub path likebasename: '/deepseek-solutions'
similarly to how you already do for Vite base option https://github.com/dotku/deepseek-solutions/blob/a9f8a8f82547664e68151a67ecb8c41990bb5a99/vite.config.ts#L6.I'd suggest asking on react-router community for further react router specific issues https://github.com/remix-run/react-router/discussions