Cohee
bae02a44ed
Add cache buster middleware to clear browser cache on server restart
2025-02-15 12:56:43 +02:00
Cohee
dbbf069e85
Remove message redundancy
2025-02-14 23:53:31 +02:00
Cohee
c98d241f3c
Refactor logAddress check
2025-02-14 23:09:36 +02:00
Kristan Schlikow
961a71877b
Remove extra resolve for autorun
2025-02-14 22:02:16 +01:00
Kristan Schlikow
f5bfbce0ad
Group listenAddress for config
2025-02-14 20:04:23 +01:00
Kristan Schlikow
a4c124dff0
Remove dead code
2025-02-14 20:00:15 +01:00
Kristan Schlikow
2445b6d9dc
Split up listen address configuration between IPv4 and IPv6
2025-02-14 19:58:59 +01:00
Kristan Schlikow
ad8f0f564f
Use IP Regex package, update default
2025-02-14 19:06:07 +01:00
Kristan Schlikow
dd55b2770a
Address issues with IPv6 binding
2025-02-13 23:51:18 +01:00
Kristan Schlikow
83f74a5d22
Allow user to configure an address to listen to
2025-02-13 23:43:10 +01:00
Cohee
5f564343ec
Remove console log
2025-02-04 23:14:01 +02:00
Cohee
dfb062af41
Clean-uo blank lines
2025-02-04 22:52:07 +02:00
Cohee
d9bb5e6b1f
Revert old default values
2025-02-04 22:46:24 +02:00
Cohee
363d8a4121
Merge branch 'staging' into ipv6_auto
2025-02-04 22:45:46 +02:00
Eradev
552a418bae
Merge branch 'staging' into staging-3071-v2
2025-01-28 10:49:53 -05:00
Cohee
c9a1a3eb94
Merge pull request #3351 from SillyTavern/csrf-sync
...
Replace CSRF middleware
2025-01-25 23:23:43 +02:00
Cohee
44ade6ad64
Customize CSRF token error message
2025-01-25 23:20:26 +02:00
Spappz
6099ffece1
No exceptions on missing error webpages
...
- Create a `safeReadFileSync()` function in `src/utils.js` to wrap around `fs.readFileSync()`
- Migrate error-webpage loads to use `safeReadFileSync()`, with default values of an empty string
- Move the 404 error middleware to explicitly only be called *after* extensions are registered
2025-01-25 20:29:31 +00:00
Cohee
5ff402aabf
Replace CSRF middleware
...
Closes #3349
2025-01-25 16:56:11 +02:00
Spappz
a5dc505e61
add 404 error-handling to server
...
This is all that seems necessary according to Express? Admittedly my first time using it.
https://expressjs.com/en/starter/faq.html#how-do-i-handle-404-responses
2025-01-25 03:42:04 +00:00
Eradev
1f9fa74786
Rewritten minLogLevel feature
2025-01-15 10:02:32 -05:00
BPplays
d769798ba3
replaced some jsdoc with assigning false by default
2025-01-12 22:39:42 -08:00
BPplays
faaa4ba6bc
changed formatting
2025-01-10 03:58:15 -08:00
BPplays
aa10dd98c9
more jsdoc stuff
2025-01-10 02:56:00 -08:00
BPplays
9f98bee362
foramtting
2025-01-09 19:42:27 -08:00
BPplays
f372e1a69d
more jsdoc stuff
2025-01-09 19:09:55 -08:00
BPplays
5b5b9a91aa
more jsdoc stuff
2025-01-09 18:44:48 -08:00
BPplays
b43ac187ec
formatting changes
2025-01-09 18:27:21 -08:00
BPplays
adc5940d15
formatting changes
2025-01-09 18:17:02 -08:00
BPplays
45e7edc9b8
formatting
2025-01-09 07:35:17 -08:00
BPplays
874127a4f9
lint
2025-01-09 07:30:50 -08:00
BPplays
d177314676
formatting
2025-01-09 07:30:22 -08:00
BPplays
bab4f21056
added dns checking
2025-01-09 07:29:37 -08:00
BPplays
188a043967
started adding dns checking
2025-01-09 04:12:02 -08:00
Cohee
e75d03fea9
Fix lint
2025-01-04 16:23:21 +02:00
Cohee
48be0ceb16
Use named constants
2025-01-04 16:23:21 +02:00
BPplays
8a321a7450
added better logging
2024-12-31 22:41:13 -08:00
BPplays
092d11bbe6
added better logging
2024-12-31 22:34:41 -08:00
BPplays
d956e0ebdc
changed formatting
2024-12-31 14:46:41 -08:00
BPplays
93e0efa241
made var names better
2024-12-31 03:29:15 -08:00
BPplays
f27b3361e5
lint
2024-12-30 03:01:04 -08:00
BPplays
dd6dcf1c5b
changed to check 127.0.0.1 because that's what it binds to
2024-12-28 17:27:49 -08:00
BPplays
0382afc488
changed foramtting
2024-12-28 17:15:44 -08:00
BPplays
19eae8cb49
fixed broken ipv6 on linux, and weird implementation in general
2024-12-28 17:14:30 -08:00
BPplays
1a1ab1d18a
check for localhost ip and ignore link-local v6, i think you need to specify an interface
2024-12-28 13:31:50 -08:00
BPplays
ae79616c73
changed color of ip warning
2024-12-26 11:44:30 -08:00
BPplays
9c0993908a
moved stringtobool
2024-12-26 11:42:32 -08:00
BPplays
647b89f8ad
changed settings value error to just set to auto
2024-12-26 11:40:22 -08:00
BPplays
591a61a61c
misc formatting
2024-12-26 10:51:45 -08:00
BPplays
4a8b47a6ff
fixed cli args and logic bug
2024-12-26 10:44:48 -08:00