You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have created a new NextJS app with @layer0/rum package and I am facing an issue with cache-manifest.js file when I run my app on localhost. The problem is that the rum package adds prefetch link with the wrong URL (/__xdn__/cache-manifest.js) which doesn't exists and returns 404 error.
Here's the repo of created app with the steps how to preproduse the issue. It's just plain NextJS app with @layer0/rum package.
It seems that the problem is caused by if condition on line 115 in https://github.com/layer0-platform/rum/blob/main/src/Metrics.ts file.
When I use 127.0.0.1 address instead of localhost everything works fine.
The text was updated successfully, but these errors were encountered:
thehansys
changed the title
Metrics from @llayer0/rum prefetching frong file
Metrics from @llayer0/rum is prefetching wrong URL
Aug 9, 2022
thehansys
changed the title
Metrics from @llayer0/rum is prefetching wrong URL
Metrics from @layer0/rum is prefetching wrong URL
Aug 9, 2022
Hello,
I have created a new NextJS app with @layer0/rum package and I am facing an issue with
cache-manifest.js
file when I run my app on localhost. The problem is that the rum package adds prefetch link with the wrong URL (/__xdn__/cache-manifest.js
) which doesn't exists and returns 404 error.Here's the repo of created app with the steps how to preproduse the issue. It's just plain NextJS app with @layer0/rum package.
It seems that the problem is caused by if condition on line 115 in
https://github.com/layer0-platform/rum/blob/main/src/Metrics.ts
file.When I use 127.0.0.1 address instead of localhost everything works fine.
The text was updated successfully, but these errors were encountered: