Skip to content

Smarter spotlight url #1980

@roman-vohnik

Description

@roman-vohnik

Problem Statement

Spotlight docs says we should init SDK (not specifically php) with
spotlight: "http://localhost:8969/stream" see https://spotlightjs.com/docs/sidecar/

But this PHP SDK is appending another /stream additionally in HttpTransport.php#L189 resulting in error 404 on http://localhost:8969/stream/stream

Solution Brainstorm

The HttpTransport could be made foolproof and only append /stream if it's not already present at the end.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions