Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Mihai-Valeriu Ginghina
/
WBT2425_6
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
4
Merge Requests
2
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c7867a42
authored
May 14, 2025
by
mvginghina
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove invalid package.json from public directory
parent
905d8583
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
.env.development
.env.production
next.config.mjs
react/package.json
.env.development
View file @
c7867a42
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_API_URL=http://localhost:8000
\ No newline at end of file
.env.production
View file @
c7867a42
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
next.config.mjs
View file @
c7867a42
/** @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;
react/package.json
0 → 100644
View file @
c7867a42
"scripts"
:
{
"dev"
:
"next dev"
,
"build"
:
"next build && cp -r build/* ../fastapi/public/ && rm ../fastapi/public/package.json"
,
"start"
:
"next start"
,
"lint"
:
"next lint"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment