Skip to content

Not able to view assets in Electron #295

Open
@Shubhdeep12

Description

Environment

What version are you running? Etc.

Steps to Reproduce

  1. Try previewing the span with span.op as resource.img in the spanDetails page both in the browser and in the Electron app

Expected Result

Ideally, the assets should be visible in the Electron app also

Actual Result

Browser
image

.

Local App
image

Reason - description of these spans with preview is treated as src for img tag and this description usually contains the path not the exact URL of assets(images).
In the browser, it works because local assets need a browser base path
but the electron app is opened on port 5317 locally, causing the error.

Solution brainstorm - there is a request with URL value in transaction data, which I think we can use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions