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

Name not resolved #360

Open
KickSchutte67 opened this issue Jan 4, 2023 · 1 comment
Open

Name not resolved #360

KickSchutte67 opened this issue Jan 4, 2023 · 1 comment

Comments

@KickSchutte67
Copy link

KickSchutte67 commented Jan 4, 2023

Hi,

I came across expose and I wanted to share my page with others, but the page seems to not resolve the app.js.

I am using VITE, Vue.js and Laravel. I am getting the following error message in console:

Screenshot 2023-01-04 at 13 52 03

The hostname has been blurred/removed, but I can confirm these are the exact same.

How do I resolve this issue?

EDIT 1:

Non of the issues that were already issued on this github repository helped fix my issue. I tried the following:

expose share https://mydomain.test --subdomain=mydomain, does not fix the issue. VITE still loads the .test app.js file.

Changing the APP_URL and ASSET_URL into the expose url. VITE still loads the .test app.js file.

@majorregal
Copy link

Hi, I had the same issue.
I also tried to change the APP_URL and ASSET_URL but later figured out that none of that is necessary.
I had to change the $proxies variable to $proxies = '*'; in TrustProxies.php and after that it used the correct base URL automatically. See here for more information.

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