expose icon indicating copy to clipboard operation
expose copied to clipboard

Name not resolved

Open KickSchutte67 opened this issue 3 years ago • 1 comments

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.

KickSchutte67 avatar Jan 04 '23 12:01 KickSchutte67

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.

majorregal avatar Jan 13 '23 23:01 majorregal