Skip to content

Commit 2c5ca94

Browse files
committed
feat(app): lint and beautify
1 parent db7407b commit 2c5ca94

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

docs/installation/NETWORKING.md

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -10,100 +10,100 @@ This guide will show you how to make Perplexica available over a network. Follow
1010

1111
3. Stop and remove the existing Perplexica containers and images:
1212

13-
```bash
14-
docker compose down --rmi all
15-
```
13+
```bash
14+
docker compose down --rmi all
15+
```
1616

1717
4. Open the `docker-compose.yaml` file in a text editor like Notepad++
1818

1919
5. Replace `127.0.0.1` with the IP address of the server Perplexica is running on in these two lines:
2020

21-
```bash
22-
args:
23-
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
24-
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
25-
```
21+
```bash
22+
args:
23+
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
24+
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
25+
```
2626

2727
6. Save and close the `docker-compose.yaml` file
2828

2929
7. Rebuild and restart the Perplexica container:
3030

31-
```bash
32-
docker compose up -d --build
33-
```
31+
```bash
32+
docker compose up -d --build
33+
```
3434

3535
## macOS
3636

3737
1. Open the Terminal application
3838

3939
2. Navigate to the directory with the `docker-compose.yaml` file:
4040

41-
```bash
42-
cd /path/to/docker-compose.yaml
43-
```
41+
```bash
42+
cd /path/to/docker-compose.yaml
43+
```
4444

4545
3. Stop and remove existing containers and images:
4646

47-
```bash
48-
docker compose down --rmi all
49-
```
47+
```bash
48+
docker compose down --rmi all
49+
```
5050

5151
4. Open `docker-compose.yaml` in a text editor like Sublime Text:
5252

53-
```bash
54-
nano docker-compose.yaml
55-
```
53+
```bash
54+
nano docker-compose.yaml
55+
```
5656

5757
5. Replace `127.0.0.1` with the server IP in these lines:
5858

59-
```bash
60-
args:
61-
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
62-
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
63-
```
59+
```bash
60+
args:
61+
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
62+
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
63+
```
6464

6565
6. Save and exit the editor
6666

6767
7. Rebuild and restart Perplexica:
6868

69-
```bash
70-
docker compose up -d --build
71-
```
69+
```bash
70+
docker compose up -d --build
71+
```
7272

7373
## Linux
7474

7575
1. Open the terminal
7676

7777
2. Navigate to the `docker-compose.yaml` directory:
7878

79-
```bash
80-
cd /path/to/docker-compose.yaml
81-
```
79+
```bash
80+
cd /path/to/docker-compose.yaml
81+
```
8282

8383
3. Stop and remove containers and images:
8484

85-
```bash
86-
docker compose down --rmi all
87-
```
85+
```bash
86+
docker compose down --rmi all
87+
```
8888

8989
4. Edit `docker-compose.yaml`:
9090

91-
```bash
92-
nano docker-compose.yaml
93-
```
91+
```bash
92+
nano docker-compose.yaml
93+
```
9494

9595
5. Replace `127.0.0.1` with the server IP:
9696

97-
```bash
98-
args:
99-
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
100-
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
101-
```
97+
```bash
98+
args:
99+
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
100+
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
101+
```
102102

103103
6. Save and exit the editor
104104

105105
7. Rebuild and restart Perplexica:
106106

107-
```bash
108-
docker compose up -d --build
109-
```
107+
```bash
108+
docker compose up -d --build
109+
```

src/routes/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ router.get('/', async (_, res) => {
5454
config['anthropicApiKey'] = getAnthropicApiKey();
5555
config['groqApiKey'] = getGroqApiKey();
5656
config['geminiApiKey'] = getGeminiApiKey();
57-
57+
5858
res.status(200).json(config);
5959
} catch (err: any) {
6060
res.status(500).json({ message: 'An error has occurred.' });

0 commit comments

Comments
 (0)