Commit 3e26ad9
authored
add goaccess browsers.list & modify list with custom user input
#Browsers List
- During startup, if a `browsers.list` file already exists in the `/goaccess-config` directory, it is removed and replaced with the original goaccess `browsers.list` file.
- If the file doesn't exist, it is copied from the `/goaccess/config` directory to the `/goaccess-config` directory.
#Modifying the browsers list
- Given the user's definition of the `CUSTOM_BROWSERS` env variable, each browser:browser category combo is appended to the `browsers.list` file (only if the browser isn't already defined in the `browsers.list`).1 parent e7be410 commit 3e26ad9
1 file changed
+34
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
31 | 64 | | |
32 | 65 | | |
33 | 66 | | |
| |||
51 | 84 | | |
52 | 85 | | |
53 | 86 | | |
54 | | - | |
| 87 | + | |
0 commit comments