mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 08:32:09 +01:00
- Refactor DashboardContent to improve trend calculations for user metrics and session time. - Modify SessionViewPage to ensure loading state is set before fetching session data. - Adjust SessionsPage to clean up display of session start time and remove unnecessary comments. - Enhance DonutChart to handle various data point types and improve percentage calculations. - Update GeographicMap to utilize @rapideditor/country-coder for country coordinates. - Improve safeParseDate function in csvFetcher for better date handling and error logging. - Refactor sessionMetrics to clarify variable names and improve session duration calculations. - Update next.config.js for better configuration clarity. - Bump package version to 0.2.0 and update dependencies in package.json and package-lock.json. - Clean up API handler for dashboard sessions to improve readability and maintainability. - Adjust tsconfig.json for better module resolution and strict type checking.
16 lines
296 B
JavaScript
16 lines
296 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
**/
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
// Allow cross-origin requests from specific origins in development
|
|
allowedDevOrigins: [
|
|
"192.168.1.2",
|
|
"localhost",
|
|
"propc",
|
|
"test123.kjanat.com",
|
|
],
|
|
};
|
|
|
|
export default nextConfig;
|