Skip to content

API Requests in /telescope doesn't have window.Telescope.basePath set #1582

@c-delouvencourt

Description

@c-delouvencourt

Telescope Version

5.7.0

Laravel Version

12

PHP Version

8.4

Database Driver & Version

No response

Description

Hello, not all requests made from the Telescope administration panel have this variable defined window.Telescope.basePath :

Image

This causes a 404 on all API requests. I have to define in the browser console the variable: window.Telescope.basePath like this: "window.Telescope.basePath = 'https://website.com/telescope'

Steps To Reproduce

Just install telescope 5.7.0

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