feat: Add new scripts and update project structure for database management and user authentication
This commit introduces several new scripts for managing database operations, including user creation, permission grants, and data migrations. It also adds new documentation files to guide users through the setup and configuration processes. Additionally, the project structure is updated to enhance organization and maintainability, ensuring a smoother development experience for contributors. These changes support the ongoing transition to a web-based architecture and improve overall project functionality.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
images: {
|
||||
// Configure remote patterns for external image sources (SharePoint, CDN, etc.)
|
||||
remotePatterns: [
|
||||
// SharePoint Online (Microsoft 365)
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: '**.sharepoint.com',
|
||||
},
|
||||
// SharePoint Server (on-premises) - update with your domain
|
||||
// Uncomment and update if using on-premises SharePoint:
|
||||
// {
|
||||
// protocol: 'https',
|
||||
// hostname: 'sharepoint.yourcompany.com',
|
||||
// },
|
||||
// Add other CDN or image hosting domains as needed
|
||||
],
|
||||
// Enable image optimization in production
|
||||
// In development, images are unoptimized for faster iteration
|
||||
unoptimized: process.env.NODE_ENV === 'development',
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user