Skip to content

TagSpaces is an offline, open source, document manager with tagging support

add extconfig-default.js

sytolkde91e109d85e
diff --git a/.gitignore b/.gitignore
index ef9e0bf8c..d87e41c49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -89,9 +89,6 @@ src/.env
src/main/config
src/renderer/extconfig*
public/extconfig*
-web/extconfig*
-!web/extconfig.js
-!web/extconfig.tmpl.js
cordova/www/extconfig.js
reports/*
@@ -137,4 +134,3 @@ tx
tagspsacespro
third-party
-extconfig.js
diff --git a/scripts/extconfig-default.js b/scripts/extconfig-default.js
new file mode 100644
index 000000000..82947d529
--- /dev/null
+++ b/scripts/extconfig-default.js
@@ -0,0 +1,4 @@
+// Options available in extconfig.js are documented here: https://docs.tagspaces.org/dev/external-config
+
+// Uncomment the following line to enable saving the location data in the browser's local storage
+// window.ExtSaveLocationsInBrowser = true;
diff --git a/tests/e2e/fixtures.js b/tests/e2e/fixtures.js
index 2705da409..f91649697 100644
--- a/tests/e2e/fixtures.js
+++ b/tests/e2e/fixtures.js
@@ -33,7 +33,8 @@ const test = base.extend({
await use(port);
// teardown
await new Promise((f) => server.close(f));
- await removeExtConfig(isWeb);
+ //await removeExtConfig(isWeb);
+ await copyExtConfig({ isWeb }, 'extconfig-default.js');
} else {
// If the test does not require the S3 server, just use a dummy value
await use(null);
diff --git a/web/extconfig.js b/web/extconfig.js
new file mode 100644
index 000000000..82947d529
--- /dev/null
+++ b/web/extconfig.js
@@ -0,0 +1,4 @@
+// Options available in extconfig.js are documented here: https://docs.tagspaces.org/dev/external-config
+
+// Uncomment the following line to enable saving the location data in the browser's local storage
+// window.ExtSaveLocationsInBrowser = true;