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
BPplays
1689baa2a4
changed back const
2024-12-26 10:30:51 -08:00
BPplays
ca283c0da6
fixed backward compat, and check if auto before getting addrs
2024-12-26 10:29:04 -08:00
BPplays
9e049f44e2
fixed logic bug
2024-12-25 17:28:44 -08:00
BPplays
0bc0569932
changed to always report supported ip ver even when disabled, green means it's enabled
2024-12-25 17:25:02 -08:00
BPplays
e861b18992
added better error reporting
2024-12-25 17:22:18 -08:00
BPplays
26c0b620f8
added better error reporting
2024-12-25 17:16:40 -08:00
BPplays
324eb695f5
added better error reporting
2024-12-25 17:16:12 -08:00
BPplays
b5139e3ff9
fixed linting issues
2024-12-25 17:06:05 -08:00
BPplays
38b1c26396
made loop better
2024-12-25 17:01:12 -08:00
BPplays
418a2564b2
added better error handling
2024-12-25 16:59:47 -08:00