Files
Nexus/web/app/assets/wsUrl-CqmqkTTE.js
T
Your Name 51948469c2 build(frontend): track Vite output in Git for Gitea deploy
- Stop ignoring web/app/index.html and web/app/assets/
- Bundle index-DBKIQT7H.js from current vite build (~101MB assets)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 00:52:44 +08:00

1 line
275 B
JavaScript

function e(e,t){let n=e.startsWith(`/`)?e:`/${e}`,r;r=`${window.location.protocol===`https:`?`wss:`:`ws:`}//${window.location.host}`;let i=new URL(n,`${r}/`);if(t)for(let[e,n]of Object.entries(t))n!==void 0&&n!==``&&i.searchParams.set(e,n);return i.toString()}export{e as t};