mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-29 23:14:25 +01:00
Improvements for --base-path usage (#292)
* Trim trailing slashes in --base-path option * Redirect `/base-path` to `/base-path/` * Log endpoints if --base-path is provided * Use predefined token for standard header 'location'
This commit is contained in:
committed by
GitHub
parent
ea27950594
commit
398bebf091
@@ -18,6 +18,7 @@ struct endpoints {
|
||||
char *ws;
|
||||
char *index;
|
||||
char *token;
|
||||
char *parent;
|
||||
};
|
||||
|
||||
extern volatile bool force_exit;
|
||||
|
||||
Reference in New Issue
Block a user