Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export button doesn't use project URL #4258

Closed
ghost opened this issue Feb 24, 2021 · 2 comments
Closed

Export button doesn't use project URL #4258

ghost opened this issue Feb 24, 2021 · 2 comments
Assignees
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Feb 24, 2021

On v9.0.0-rc.43 (and pretty much all previous releases as well), the export button in the collections module sidebar takes the user to /items, without respecting the project URL if it is set in project settings. Perhaps it should prepend the project URL.

@rijkvanzanten
Copy link
Member

Perhaps it should prepend the project URL.

Why should it? The app is served from the API, so it should be safe to assume that the /items endpoint next to /admin exists.

@ghost
Copy link
Author

ghost commented Mar 1, 2021

Sorry my mistake this is not related to the project URL.

When serving the app behind a reverse proxy, the app makes all the API calls correctly to the relative path (eg. (domain)/api/...). However, this export request is the only one being made to the absolute path (always (domain)/...).

@rijkvanzanten rijkvanzanten reopened this Mar 1, 2021
@rijkvanzanten rijkvanzanten self-assigned this Mar 4, 2021
@rijkvanzanten rijkvanzanten added this to the v9.0.0-rc.45 milestone Mar 4, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant