Skip to content

Conversation

huangjeff5
Copy link
Collaborator

@huangjeff5 huangjeff5 commented Oct 3, 2025

Support re-routing to genkit.dev/examples. All the assets and API endpoints need to hit /examples as the base path instead of /.

Ran into issues with the NextJS image optimization after setting basePath that I couldn't figure out, so using a custom image loader instead.

@huangjeff5 huangjeff5 requested review from i14h and mbleigh October 3, 2025 16:56
Removed unnecessary comments regarding basePath issues.
Copy link
Collaborator

@i14h i14h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@huangjeff5 have you tested this in app hosting? looks good to me, but lets test it out in app hosting, then setup a 301 for examples.genkit.dev, then deploy to production

@huangjeff5 huangjeff5 marked this pull request as draft October 3, 2025 18:56
@mbleigh
Copy link
Collaborator

mbleigh commented Oct 3, 2025

What is the rollout plan for this so that it isn't in a broken state while we transition? I might recommend setting up a new App Hosting backend for this branch and keeping the old branch live until we're ready to implement the redirects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants