Skip to content

Use relative paths for imports on test server? #196

Open
@StevenClontz

Description

@StevenClontz

Thanks for the cool project!

I tried to experiment with this library using a GitHub Codespace today. It seems that when I run pygbag test, the test server spins up and I'm able to visit the page, which is stuck on "Downloading..."

Image

It appears that the culprit is that several javascript files are failing to load

Image

Of course, that's because while the app is hosted at localhost on the machine, it's being accessed on my actual laptop via a proxy like didactic-space-computing-machine-5g66g9gq9rc44j7-8000.app.github.dev. Naively, I'd expect this would be fixed by using a relative path rather than an absolute URL. Alternatively, being able to provide the proxy URL might be a solution as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions