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

Using Laravel Wave with the frontend in different url or port #17

Open
victorcesae opened this issue Jun 27, 2023 · 1 comment
Open

Comments

@victorcesae
Copy link

victorcesae commented Jun 27, 2023

What happened?

When using frontend in a url or port different of the backend, the connection is not stablished and i cannot configure custom url or port

How to reproduce the bug

Using frontend framework like NEXT.JS

Package Version

0.7.1

PHP Version

8.2.0

Laravel Version

9.0

How to solve?

I created a repository to present the solution to the problem: https://github.com/victorcesae/feature-laravel-wave-client

Notes

No response

@slavarazum
Copy link
Contributor

slavarazum commented Jan 19, 2024

Hey @victorcesae !
My apologies for the late response.

In the latest version you can configure endpoint option or any Request option you need just like with simple fetch request.

https://github.com/qruto/laravel-wave#client-options

Let me know if you have any additional obstacles.

P.S. You can create a PR from your repo to add necessary functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants