feat: 完善全栈 Dashboard 项目 - UI优化、Docker支持、账单系统等
This commit is contained in:
@@ -11,6 +11,7 @@ router.all('/*', sessionAuth, async (req: Request, res: Response) => {
|
||||
try {
|
||||
const headers: Record<string, string> = {
|
||||
'Authorization': session.access_token,
|
||||
'New-Api-User': String(session.user_id),
|
||||
'Content-Type': req.headers['content-type'] || 'application/json'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user