mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 10:52:08 +01:00
Refactors dashboard to use actual metrics for country data, removing dummy data for improved accuracy. Integrates the country-code-lookup package for geographic mapping, adding comprehensive country coordinates. Increases performance and data validation across API endpoints and adjusts WordCloud component size for better visualization. Enhances session handling with improved validation logic, and updates configuration for allowed origins.
14 lines
291 B
JavaScript
14 lines
291 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;
|