Skip to content

Issue while Self hosting in K8s #18

Open
@hellodhana

Description

@hellodhana

I have deployed hoppscotch/hoppscotch:latest image in K8s with config map and secret store. Pod is running fine, but when I query base URL below, the page is blank.

https://amer.ingress.com/hoppscotch

Reason the page is blank is that its trying to load asset with without hoppscotch in URL. /hoppscotch is my prefix in ingress controller.

for example:
https://amer.ingress.com/assets/inter-cyrillic-ext-wght-normal-B2xhLi22.woff2
https://amer.ingress.com/assets/index-BLWbyyT9.js

Below is my config.

VITE_BASE_URL: "http://amer.ingress.com/hoppscotch"
VITE_SHORTCODE_BASE_URL: "http://amer.ingress.com/hoppscotch"
VITE_ADMIN_URL: "http://amer.ingress.com/hoppscotch/admin"
VITE_BACKEND_GQL_URL: "http://amer.ingress.com/hoppscotch/backend/graphql"
VITE_BACKEND_WS_URL: "wss://amer.ingress.com/hoppscotch/backend/graphql"
VITE_BACKEND_API_URL: "http://amer.ingress.com/hoppscotch/backend/v1"

Is there any config that I need to set so that it tries to load asset with right URL
https://amer.ingress.com/hoppscotch/assets/inter-cyrillic-ext-wght-normal-B2xhLi22.woff2
https://amer.ingress.com/hoppscotch/assets/index-BLWbyyT9.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions