chore: rename project root directory from 'old-project-name' to 'new-project-name'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// static/js/components/cookie-consent.js
|
||||
import app from '../app.js';
|
||||
|
||||
const COOKIE_CONSENT_KEY = 'rbox_cookie_consent';
|
||||
const COOKIE_CONSENT_KEY = 'mywebdav_cookie_consent';
|
||||
|
||||
export class CookieConsent extends HTMLElement {
|
||||
constructor() {
|
||||
|
||||
@@ -60,7 +60,7 @@ export class UserSettings extends HTMLElement {
|
||||
}
|
||||
|
||||
const data = await response.json();
|
||||
const filename = `rbox_user_data_${new Date().toISOString().slice(0,10)}.json`;
|
||||
const filename = `mywebdav_user_data_${new Date().toISOString().slice(0,10)}.json`;
|
||||
const blob = new Blob([JSON.stringify(data, null, 2)], { type: 'application/json' });
|
||||
const url = URL.createObjectURL(blob);
|
||||
const a = document.createElement('a');
|
||||
|
||||
+3
-3
@@ -11,8 +11,8 @@ if (startupResults.failed.length > 0) {
|
||||
import('./app.js').then(({ default: app }) => {
|
||||
return Promise.all([
|
||||
import('./components/error-boundary.js'),
|
||||
import('./components/rbox-app.js')
|
||||
]).then(([errorBoundary, rboxApp]) => {
|
||||
import('./components/mywebdav-app.js')
|
||||
]).then(([errorBoundary, mywebdavApp]) => {
|
||||
if (!app.isReady()) {
|
||||
console.error('CRITICAL: Application failed to initialize properly');
|
||||
document.body.innerHTML = `
|
||||
@@ -27,7 +27,7 @@ if (startupResults.failed.length > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
customElements.define('rbox-app', rboxApp.RBoxApp);
|
||||
customElements.define('mywebdav-app', mywebdavApp.RBoxApp);
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
|
||||
Reference in New Issue
Block a user