Webflow add tag to download scripts from Vercel but from website domain

My problem is that my website is downloading script two times one time is from Vercel project which is expected.
Second time it’s doing basically the same but with website domain and getting 404(it’s ok the script it’s trying to get is not there and I am not expecting it to be there).
The question is why Webflow injects this type of code to HTML:
<link rel="modulepreload" as="script" crossorigin="" href="/assets/index-2cb950ff.js">

The issue seems to be caused by Webflow’s automatic optimization features, which might be adding preload links to enhance performance?
How can I disable that?

I’m not sure what you’re showing here, but it does not look like any Webflow injected code I’ve seen.

The webflow.js script reference looks like this;

<script 
  src="https://cdn.prod.website-files.com/62296a9008e2/js/webflow.a1c6110d.js" 
  type="text/javascript"></script>

Among other differences, it’s a <script>, not a <link>, and is to the CDN rather than a local /assets/ path. Also your script filename begins with index- rather than webflow. which to me suggests code that might be page-specific rather than Webflow site-wide lib approach.

If your site is exported, this could be part of a framework or custom code you have installed into the site. If it’s Webflow-hosted it could be a reverse proxy framework. I haven’t looked at Wized lately, but it might have an RP layer that app-ifies your site?

You correct, I am using next js, so might be the issue with it.
Thanks!