Skip to content

Serve static files at root and redirect /explorer to / #1620

@kmcginnes

Description

@kmcginnes

Parent PRD

What to build

Change the Express server to serve the React client static files at / instead of /explorer. Add redirect middleware so that requests to /explorer (and /explorer/*) redirect to / (and /*). Update GRAPH_EXP_ENV_ROOT_FOLDER default from /explorer to /. Update the Dockerfile and SageMaker variant accordingly.

Type: HITL — requires review before completion.

Acceptance criteria

  • Static files are served at / instead of /explorer
  • Requests to /explorer redirect (301) to /
  • Requests to /explorer/some/path redirect to /some/path
  • GRAPH_EXP_ENV_ROOT_FOLDER defaults to / in the Dockerfile
  • SageMaker variant uses /proxy/9250/ instead of /proxy/9250/explorer
  • Vite config base default changes from /explorer to /
  • Tests verify the redirect behavior

Blocked by

User stories addressed

  • User story 7
  • User story 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions