diff --git a/index.html b/index.html
index 193fd14..540eb88 100644
--- a/index.html
+++ b/index.html
@@ -13,6 +13,11 @@
type="font/woff2"
crossorigin
/>
+
+
diff --git a/src/filehandle/WebdavFile.ts b/src/filehandle/WebdavFile.ts
index d778905..67c263b 100644
--- a/src/filehandle/WebdavFile.ts
+++ b/src/filehandle/WebdavFile.ts
@@ -295,7 +295,7 @@ class WebdavFile {
this.name = webdav.name;
this.webdav = createClient(webdav.url, {
- authType: AuthType.Digest,
+ authType: AuthType.Auto,
username: webdav.username,
password: webdav.password
});
diff --git a/vite.config.ts b/vite.config.ts
index 87376c9..b4a2bd2 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -173,6 +173,12 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(/^\/api/, 'notes')
+ },
+ '/apache2': {
+ target: 'http://8.222.131.201:8364',
+ changeOrigin: true,
+ ws: true,
+ rewrite: (path) => path.replace(/^\/apache2/, 'notes')
}
}
// https: {},