Skip to content

feat(ui): support custom basePath#930

Merged
penge merged 1 commit intomainfrom
custom-base-path
Jul 17, 2025
Merged

feat(ui): support custom basePath#930
penge merged 1 commit intomainfrom
custom-base-path

Conversation

@penge
Copy link
Contributor

@penge penge commented Jul 16, 2025

Support custom basePath.

Ensure the correct API URL is constructed when called from either the server or the client.


How to test (development)

  1. Set:
NEXT_PUBLIC_BASE_PATH='/granite/playground'

  1. Run:
$ mise beeai-ui:run:dev

  1. Open: http://localhost:3000/granite/playground



How to test (build)

  1. Set:
NEXT_PUBLIC_BASE_PATH='/granite/playground'

  1. Run:
$ mise beeai-ui:build:nextjs
$ mise beeai-ui:run

  1. Open: http://localhost:3000/granite/playground




Expectations

  • API calls use the correct base path and work (both "ACP" and "API").
  • Favicon correctly set.

Signed-off-by: penge <ppenge@gmail.com>
@penge penge requested review from PetrBulanek and kapetr July 16, 2025 12:23
@penge penge self-assigned this Jul 16, 2025
@penge penge merged commit 8215eb6 into main Jul 17, 2025
7 checks passed
@penge penge deleted the custom-base-path branch July 17, 2025 07:40
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