Commit c7867a42 by mvginghina

Remove invalid package.json from public directory

parent 905d8583
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_API_URL=http://localhost:8000
\ No newline at end of file
NEXT_PUBLIC_API_URL=https://wbt2425-6-gmv-b8azcsamdahdhkbm.spaincentral-01.azurewebsites.net
NEXT_PUBLIC_BASE_PATH=/public
NEXT_PUBLIC_API_URL=https://wbt2425-6-gmv-new.azurewebsites.net # Înlocuiește cu URL-ul aplicației tale
NEXT_PUBLIC_BASE_PATH=/public
\ No newline at end of file
/** @type {import('next').NextConfig} */
const nextConfig = {
// Eliminăm complet output: 'export' pentru a evita problemele cu paginile dinamice
// Eliminăm și opțiunile experimentale care cauzează avertismente
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
distDir: '.next', // Folosim directorul standard .next în loc de build
distDir: 'build',
trailingSlash: true,
eslint: {
ignoreDuringBuilds: true,
......@@ -16,4 +14,4 @@ const nextConfig = {
},
};
export default nextConfig;
\ No newline at end of file
export default nextConfig;
"scripts": {
"dev": "next dev",
"build": "next build && cp -r build/* ../fastapi/public/ && rm ../fastapi/public/package.json",
"start": "next start",
"lint": "next lint"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment