Redirect deprecated chat endpoints

This commit is contained in:
valadaptive 2023-12-06 12:11:57 -05:00
parent e870c35613
commit dcde1bd5ba
1 changed files with 12 additions and 0 deletions

View File

@ -2236,6 +2236,18 @@ redirect('/importcharacter', '/api/characters/import');
redirect('/dupecharacter', '/api/characters/duplicate'); redirect('/dupecharacter', '/api/characters/duplicate');
redirect('/exportcharacter', '/api/characters/export'); redirect('/exportcharacter', '/api/characters/export');
// Redirect deprecated chat API endpoints
redirect('/savechat', '/api/chats/save');
redirect('/getchat', '/api/chats/get');
redirect('/renamechat', '/api/chats/rename');
redirect('/delchat', '/api/chats/delete');
redirect('/exportchat', '/api/chats/export');
redirect('/importgroupchat', '/api/chats/group/import');
redirect('/importchat', '/api/chats/import');
redirect('/getgroupchat', '/api/chats/group/get');
redirect('/deletegroupchat', '/api/chats/group/delete');
redirect('/savegroupchat', '/api/chats/group/save');
// ** REST CLIENT ASYNC WRAPPERS ** // ** REST CLIENT ASYNC WRAPPERS **
/** /**