refactor: update UI styles to use new header background color
- Changed background color for various select elements and containers in Users.vue and Videos.vue to use 'bg-header'. - Updated background color for status and role filters in the admin section. - Adjusted background colors in Home.vue, QuickActions.vue, and other components to enhance UI consistency. - Refactored Billing.vue and DomainsDns.vue to align with new design standards. - Modified settings components to utilize new header color for better visual hierarchy. - Improved accessibility and visual feedback in the SettingsRow and SettingsSectionCard components. - Updated authentication middleware to include timestamp cookie for session management. - Enhanced gRPC client to build internal metadata for service calls.
This commit is contained in:
@@ -47,6 +47,7 @@ export function httpClientAdapter(opts: {
|
||||
} else {
|
||||
res = await fetch(req);
|
||||
}
|
||||
|
||||
if (!res.ok) {
|
||||
// throw new Error(`HTTP error: ${res.status}`);
|
||||
throw new Error(
|
||||
@@ -59,6 +60,9 @@ export function httpClientAdapter(opts: {
|
||||
);
|
||||
// throw TinyRpcError.deserialize(res.status);
|
||||
}
|
||||
// if (res.headers.get("set-cookie")) {
|
||||
// console.log("Response has set-cookie header:", res.headers.get("set-cookie"));
|
||||
// }
|
||||
const result: Result<unknown, unknown> = JSON.parse(
|
||||
await res.text()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user