Dynamore
Dynamore
CDCloudflare Developers
Created by jdkdev on 1/23/2024 in #pages-help
How Do I redirect all urls to their trailing slash equivalent?
@jdkdev did you figure out how to resolve this? im trying to do this redirect also with my astro project. the default trailing slash redirection from cloudflare seems to work if the site is statically rendered. i needed to do SSR though, and it stopped working for me
3 replies
CDCloudflare Developers
Created by Dynamore on 4/22/2024 in #pages-help
Error: Failed to publish your Function. Got error: Uncaught ReferenceError: _page1 is not defined
Figured out the issue. has to do with node version. I was using 18.17.1. There seems to be a compat issue that requires minimum node v18.18.0. Although there was still another issue with Astro SSG on cloudflare. which seems to be an issue from Astro side.
Error: Failed to publish your Function. Got error: Uncaught TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')
at renderers.mjs:63:443
Error: Failed to publish your Function. Got error: Uncaught TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')
at renderers.mjs:63:443
will be waiting for a fix from Astro for now
3 replies
CDCloudflare Developers
Created by Dynamore on 4/22/2024 in #pages-help
Error: Failed to publish your Function. Got error: Uncaught ReferenceError: _page1 is not defined
this is the log from cloudflare. I've tried deleting all other pages and tried different things with the config but no success still
3 replies