Skip to content
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

Fix static file serving for help page and logs page (in npx mode) #843

Open
VisargD opened this issue Dec 24, 2024 · 0 comments · May be fixed by #841
Open

Fix static file serving for help page and logs page (in npx mode) #843

VisargD opened this issue Dec 24, 2024 · 0 comments · May be fixed by #841
Assignees
Labels

Comments

@VisargD
Copy link
Collaborator

VisargD commented Dec 24, 2024

The current help page changes use serveStatic method provided by hono. When executed through npx @portkey-ai/gateway, the CSS and JS script required by the HTML are not getting found because of incorrect relative path.

It is not currently possible to pass absolute path to serveStatic. In order to make the current implementation work, we can move all the CSS and script files into the index.html itself.

@VisargD VisargD self-assigned this Dec 24, 2024
@VisargD VisargD linked a pull request Dec 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant