-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<a href="/[some_dynamic_page]"/>
will cause 404 in prod mode
#536
Comments
<a href="/"/>
will cause 404 in prod mode
Seems like it's the issue on dynamic page |
Thanks for reporting. Can we reproduce it with examples/01_template with changing |
im adding the test case now |
<a href="/"/>
will cause 404 in prod mode<a href="/[some_dynamic_page]"/>
will cause 404 in prod mode
Oh, I think it's my custom app logic issue, here is fallback in waku start if (!options.ssr) {
// history api fallback
app.use(
'*',
serveStatic({
root: path.join(distDir, publicDir),
rewriteRequestPath: () => '/',
}),
);
} |
what's your custom app logic? is your |
Yeah, I disabled SSR because it's a electron app, which run waku |
Is it specific to |
Closing as this is not a bug in waku, but still need to update the document and cover the test Solution: #536 (comment) |
Okay, I think I understand the problem. |
Maybe we should fall back to SPA? |
workaround is to use Link
The text was updated successfully, but these errors were encountered: