Skip to content

Commit d412ed7

Browse files
Merge pull request #2307 from nextcloud/fix/double-mount-on-production
fix: prevent double frontend load on production
2 parents 4c0ba7f + 13d3cdd commit d412ed7

15 files changed

+45
-11
lines changed

js/NotificationsApp-DgE3Vt72.chunk.mjs renamed to js/NotificationsApp-CfB39C4g.chunk.mjs

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

js/NotificationsApp-DgE3Vt72.chunk.mjs.map renamed to js/NotificationsApp-CfB39C4g.chunk.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/index-CirhVy2r.chunk.mjs renamed to js/index-DWNgFtZn.chunk.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
File renamed without changes.

js/index-CirhVy2r.chunk.mjs.map renamed to js/index-DWNgFtZn.chunk.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

js/notifications-main.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('notifications', '', 'js/NotificationsApp-DgE3Vt72.chunk.mjs'),window.OC.filePath('notifications', '', 'js/_plugin-vue2_normalizer-Cw-yM9ac.chunk.mjs'),window.OC.filePath('notifications', '', 'js/style-1NKvI1E-.chunk.mjs'),window.OC.filePath('notifications', '', 'css/style-BGeCqt4J.chunk.css'),window.OC.filePath('notifications', '', 'css/_plugin-vue2_normalizer-B9NCSHcX.chunk.css'),window.OC.filePath('notifications', '', 'js/BrowserStorage-5YBVp6WO.chunk.mjs'),window.OC.filePath('notifications', '', 'css/BrowserStorage-DwuUrrYk.chunk.css'),window.OC.filePath('notifications', '', 'css/NotificationsApp-Mm7g9dOt.chunk.css')])))=>i.map(i=>d[i]);
1+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('notifications', '', 'js/NotificationsApp-CfB39C4g.chunk.mjs'),window.OC.filePath('notifications', '', 'js/_plugin-vue2_normalizer-Cw-yM9ac.chunk.mjs'),window.OC.filePath('notifications', '', 'js/style-1NKvI1E-.chunk.mjs'),window.OC.filePath('notifications', '', 'css/style-BGeCqt4J.chunk.css'),window.OC.filePath('notifications', '', 'css/_plugin-vue2_normalizer-B9NCSHcX.chunk.css'),window.OC.filePath('notifications', '', 'js/BrowserStorage-5YBVp6WO.chunk.mjs'),window.OC.filePath('notifications', '', 'css/BrowserStorage-DwuUrrYk.chunk.css'),window.OC.filePath('notifications', '', 'js/vite-preload-helper-f6abfUQs.chunk.mjs'),window.OC.filePath('notifications', '', 'css/NotificationsApp-Mm7g9dOt.chunk.css')])))=>i.map(i=>d[i]);
22
/*! third party licenses: js/vendor.LICENSE.txt */
3-
import{V as p}from"./style-1NKvI1E-.chunk.mjs";const v="modulepreload",w=function(i,c){return new URL(i,c).href},y={},A=function(i,c,f){let u=Promise.resolve();if(c&&c.length>0){const s=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),h=e?.nonce||e?.getAttribute("nonce");u=Promise.allSettled(c.map(r=>{if(r=w(r,f),r in y)return;y[r]=!0;const l=r.endsWith(".css"),E=l?'[rel="stylesheet"]':"";if(f)for(let a=s.length-1;a>=0;a--){const d=s[a];if(d.href===r&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${E}`))return;const o=document.createElement("link");if(o.rel=l?"stylesheet":v,l||(o.as="script"),o.crossOrigin="",o.href=r,h&&o.setAttribute("nonce",h),document.head.appendChild(o),l)return new Promise((a,d)=>{o.addEventListener("load",a),o.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${r}`)))})}))}function m(s){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=s,window.dispatchEvent(e),!e.defaultPrevented)throw s}return u.then(s=>{for(const e of s||[])e.status==="rejected"&&m(e.reason);return i().catch(m)})};p.prototype.t=t,p.prototype.n=n,p.prototype.OC=OC,p.prototype.OCA=OCA,new p({el:"#notifications",name:"NotificationsApp",components:{NotificationsApp:()=>A(()=>import("./NotificationsApp-DgE3Vt72.chunk.mjs").then(i=>i.N),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)},render:i=>i("NotificationsApp")});export{A as _};
3+
import{_ as p}from"./vite-preload-helper-f6abfUQs.chunk.mjs";import{V as o}from"./style-1NKvI1E-.chunk.mjs";o.prototype.t=t,o.prototype.n=n,o.prototype.OC=OC,o.prototype.OCA=OCA,new o({el:"#notifications",name:"NotificationsApp",components:{NotificationsApp:()=>p(()=>import("./NotificationsApp-CfB39C4g.chunk.mjs").then(i=>i.N),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)},render:i=>i("NotificationsApp")});
44
//# sourceMappingURL=notifications-main.mjs.map

js/notifications-main.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)