Skip to content

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

chore: improving the section with the web service

Ilian Sapundshiev9293674adbf5
diff --git a/README.md b/README.md
index 92a6f8bf2..8b1fd0080 100644
--- a/README.md
+++ b/README.md
@@ -83,11 +83,11 @@ The last command will automatically build the application with webpack. Now it i
$ yarn install-ext-node
-Starting from v4 of the application, a webserver is running locally as a separate process. The webserver is responsible for the search index creation and the generation of the thumbnails for most of the images formats. A key is required in order for the main application to communicate with the web server. It should be defined in the `.env` file located in `app` folder. This is an example for an .env file.
+Starting from v4 of the application, a web service is running locally as a separate process. The web service is responsible for the search index creation and the generation of the thumbnails for most of the images formats. A key is required in order for the main application to communicate with the web server. It should be defined in the `.env` file located in `app` folder. This is an example for an .env file.
- key=a_custom_key
+ KEY=a_custom_key
-Having a custom key, ensures that another instance of TagSpaces will not communicate with the webserver of the initial instance, since it is always running on the same port.
+Having a custom key, ensures that another instance of TagSpaces will not communicate with the web service of the initial instance, since it is always running on the same port.
Now you are ready and can build and start (bs) the application with:
diff --git a/app/services/platform-facade.ts b/app/services/platform-facade.ts
index 2360aa1ea..7d401be58 100644
--- a/app/services/platform-facade.ts
+++ b/app/services/platform-facade.ts
@@ -290,7 +290,8 @@ export default class PlatformFacade {
static loadTextFilePromise = (
filePath: string,
isPreview?: boolean
- ): Promise<any> => platformLoadTextFilePromise(decodeURIComponent(filePath), isPreview);
+ ): Promise<any> =>
+ platformLoadTextFilePromise(decodeURIComponent(filePath), isPreview);
static getFileContentPromise = (
filePath: string,