Browse Source

config: set caldav server

https://git.hammerle.me/fphammerle/carddavmate/commit/5b0d95cfa0b85f0675790d2c5c6c69a7ba07a403
Fabian Peter Hammerle 4 năm trước cách đây
mục cha
commit
4a2fd436b2
2 tập tin đã thay đổi với 2 bổ sung5 xóa
  1. 1 1
      cache.manifest
  2. 1 4
      config.js

+ 1 - 1
cache.manifest

@@ -1,5 +1,5 @@
 CACHE MANIFEST
-#V 20201125163324
+#V 20201125183335
 
 CACHE:
 common.js

+ 1 - 4
config.js

@@ -332,10 +332,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
 // port, ... (client installed into Davical "htdocs" subdirectory;
 // works "out of the box", no additional setup required):
 var globalNetworkCheckSettings={
-	href: location.protocol+'//'+location.hostname+
-		(location.port ? ':'+location.port: '')+
-		location.pathname.replace(RegExp('/+[^/]+/*(index\.html)?$'),'')+
-		'/caldav.php/',
+	href: 'https://dav.hammerle.me/',
 	timeOut: 90000,
 	lockTimeOut: 10000,
 	checkContentType: true,